mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 17:40:01 +08:00
0acff4bc96
2000-10-02 Bryce McKinlay <bryce@albatross.co.nz> * prims.cc (_Jv_argv, _Jv_argc): New fields. (JvRunMain): Set _Jv_argv and _Jv_argc. * java/awt/Component.java: Minor fixes. * java/awt/Image.java (UndefinedProperty): Initialize final field. * java/awt/Toolkit.java (systemEventQueue): Removed. (getDefaultToolkit): Default to "gnu.awt.gtk.GtkToolkit". * java/awt/Window.java (getToolkit): Don't call super. * java/awt/image/BufferedImage.java: Fix definate assignment errors. * java/awt/peer/ContainerPeer.java (insets): Remove unused method. * gnu/awt/gtk/GtkComponentPeer.java: New file. * gnu/awt/gtk/GtkContainerPeer.java: New file. * gnu/awt/gtk/GtkFramePeer.java: New file. * gnu/awt/gtk/GtkMainThread.java: New file. * gnu/awt/gtk/GtkToolkit.java: New file. * gnu/awt/gtk/GtkWindowPeer.java: New file. * gnu/awt/gtk/gtkcommon.cc: New file. * gnu/awt/gtk/gtkcommon.h: New file. * gnu/awt/gtk/natGtkComponentPeer.cc: New file. * gnu/awt/gtk/natGtkContainerPeer.cc: New file. * gnu/awt/gtk/natGtkFramePeer.cc: New file. * gnu/awt/gtk/natGtkMainThread.cc: New file. * gnu/awt/gtk/natGtkToolkit.cc: New file. * gnu/awt/gtk/natGtkWindowPeer.cc: New file. From-SVN: r36688
23 lines
469 B
C++
23 lines
469 B
C++
// 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 ();
|
|
}
|
|
|
|
|