/[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.17.2.4 by gnu_andrew, Tue Aug 2 20:12:09 2005 UTC revision 1.17.2.5 by gnu_andrew, Sat Sep 10 15:31:37 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.17.2.4  
changed lines
  Added in v.1.17.2.5

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