/[classpath]/classpath/gnu/java/awt/peer/gtk/GtkChoicePeer.java
ViewVC logotype

Diff of /classpath/gnu/java/awt/peer/gtk/GtkChoicePeer.java

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

revision 1.23 by fitzsim, Thu Jul 14 22:07:02 2005 UTC revision 1.24 by fitzsim, Thu Aug 25 02:26:48 2005 UTC
# Line 74  public class GtkChoicePeer extends GtkCo Line 74  public class GtkChoicePeer extends GtkCo
74    
75    native void connectSignals ();    native void connectSignals ();
76    
77    public native void select (int position);    native void selectNative (int position);
78      native void selectNativeUnlocked (int position);
79    
80      public void select (int position)
81      {
82        if (Thread.currentThread() == GtkToolkit.mainThread)
83          selectNativeUnlocked (position);
84        else
85          selectNative (position);
86      }
87    
88    public void add (String item, int index)    public void add (String item, int index)
89    {    {
90      int before = nativeGetSelected();      int before = nativeGetSelected();

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

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