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

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

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

revision 1.20 by fitzsim, Thu Jul 14 22:07:02 2005 UTC revision 1.21 by fitzsim, Thu Aug 18 01:22:00 2005 UTC
# Line 513  item_highlighted_cb (GtkTreeSelection *s Line 513  item_highlighted_cb (GtkTreeSelection *s
513    
514        if (!path_currently_selected)        if (!path_currently_selected)
515          {          {
           gdk_threads_leave ();  
   
516            (*cp_gtk_gdk_env())->CallVoidMethod (cp_gtk_gdk_env(), peer,            (*cp_gtk_gdk_env())->CallVoidMethod (cp_gtk_gdk_env(), peer,
517                                          postListItemEventID,                                          postListItemEventID,
518                                          row,                                          row,
519                                          (jint) AWT_ITEM_SELECTED);                                          (jint) AWT_ITEM_SELECTED);
   
           gdk_threads_enter ();  
520          }          }
521        else        else
522          {          {
           gdk_threads_leave ();  
   
523            (*cp_gtk_gdk_env())->CallVoidMethod (cp_gtk_gdk_env(), peer,            (*cp_gtk_gdk_env())->CallVoidMethod (cp_gtk_gdk_env(), peer,
524                                          postListItemEventID,                                          postListItemEventID,
525                                          row,                                          row,
526                                          (jint) AWT_ITEM_DESELECTED);                                          (jint) AWT_ITEM_DESELECTED);
   
           gdk_threads_enter ();  
527          }          }
528      }      }
529    

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

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