source: trunk/gcc/libjava/gnu/awt/gtk/natGtkMainThread.cc

Last change on this file was 2, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 469 bytes
Line 
1// This file was created by `gcjh -stubs'. -*- c++ -*-
2//
3// This file is intended to give you a head start on implementing native
4// methods using CNI.
5// Be aware: running `gcjh -stubs ' once more for this class may
6// overwrite any edits you have made to this file.
7
8#include <gnu/awt/gtk/GtkMainThread.h>
9#include <gcj/cni.h>
10
11#include <gtk/gtk.h>
12
13
14void
15gnu::awt::gtk::GtkMainThread::gtkMain ()
16{
17 GDK_THREADS_ENTER ();
18 gtk_main ();
19 GDK_THREADS_LEAVE ();
20}
21
22
Note: See TracBrowser for help on using the repository browser.