/[classpath]/classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
ViewVC logotype

Diff of /classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.29 by fitzsim, Thu Aug 18 01:22:00 2005 UTC revision 1.30 by fitzsim, Thu Aug 25 02:26:49 2005 UTC
# Line 39  exception statement from your version. * Line 39  exception statement from your version. *
39  #include "gtkpeer.h"  #include "gtkpeer.h"
40  #include "gnu_java_awt_peer_gtk_GtkButtonPeer.h"  #include "gnu_java_awt_peer_gtk_GtkButtonPeer.h"
41    
 static jmethodID beginNativeRepaintID;  
 static jmethodID endNativeRepaintID;  
42  static jmethodID postActionEventID;  static jmethodID postActionEventID;
43    
44  void  void
# Line 51  cp_gtk_button_init_jni (void) Line 49  cp_gtk_button_init_jni (void)
49    gtkbuttonpeer = (*cp_gtk_gdk_env())->FindClass (cp_gtk_gdk_env(),    gtkbuttonpeer = (*cp_gtk_gdk_env())->FindClass (cp_gtk_gdk_env(),
50                                             "gnu/java/awt/peer/gtk/GtkButtonPeer");                                             "gnu/java/awt/peer/gtk/GtkButtonPeer");
51    
   beginNativeRepaintID = (*cp_gtk_gdk_env())->GetMethodID (cp_gtk_gdk_env(), gtkbuttonpeer,  
                                                     "beginNativeRepaint",  
                                                     "()V");  
   
   endNativeRepaintID = (*cp_gtk_gdk_env())->GetMethodID (cp_gtk_gdk_env(), gtkbuttonpeer,  
                                                   "endNativeRepaint", "()V");  
   
52    postActionEventID = (*cp_gtk_gdk_env())->GetMethodID (cp_gtk_gdk_env(),    postActionEventID = (*cp_gtk_gdk_env())->GetMethodID (cp_gtk_gdk_env(),
53                                                          gtkbuttonpeer,                                                          gtkbuttonpeer,
54                                                    "postActionEvent", "(I)V");                                                    "postActionEvent", "(I)V");

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26