aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/awt/gtk/natGtkMainThread.cc
blob: 9cc492c31ed2141eb4d4353998c5daf7fc2f8c51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// This file was created by `gcjh -stubs'. -*- c++ -*-
//
// This file is intended to give you a head start on implementing native
// methods using CNI.
// Be aware: running `gcjh -stubs ' once more for this class may
// overwrite any edits you have made to this file.

#include <gnu/awt/gtk/GtkMainThread.h>
#include <gcj/cni.h>

#include <gtk/gtk.h>


void
gnu::awt::gtk::GtkMainThread::gtkMain ()
{
  GDK_THREADS_ENTER ();
  gtk_main ();
  GDK_THREADS_LEAVE ();
}