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

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

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

revision 1.3 by mark, Tue Jan 22 22:27:02 2002 UTC revision 1.4 by tromey, Sat Nov 9 23:17:30 2002 UTC
# Line 1  Line 1 
1  /* gtkscrollpanepeer.c -- Native implementation of GtkScrollPanePeer  /* gtkscrollpanepeer.c -- Native implementation of GtkScrollPanePeer
2     Copyright (C) 1998, 1999 Free Software Foundation, Inc.     Copyright (C) 1998, 1999, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 140  Java_gnu_java_awt_peer_gtk_GtkScrollPane Line 140  Java_gnu_java_awt_peer_gtk_GtkScrollPane
140    gdk_threads_enter ();    gdk_threads_enter ();
141    sw = GTK_SCROLLED_WINDOW (ptr);    sw = GTK_SCROLLED_WINDOW (ptr);
142    height = (sw->hscrollbar_visible) ? sw->hscrollbar->allocation.height : 0;    height = (sw->hscrollbar_visible) ? sw->hscrollbar->allocation.height : 0;
   printf ("height: %i\n", height);  
143    gdk_threads_leave ();    gdk_threads_leave ();
144    
145    return height;    return height;
# Line 159  Java_gnu_java_awt_peer_gtk_GtkScrollPane Line 158  Java_gnu_java_awt_peer_gtk_GtkScrollPane
158    gdk_threads_enter ();    gdk_threads_enter ();
159    sw = GTK_SCROLLED_WINDOW (ptr);    sw = GTK_SCROLLED_WINDOW (ptr);
160    width = (sw->vscrollbar_visible) ? sw->vscrollbar->allocation.width : 0;    width = (sw->vscrollbar_visible) ? sw->vscrollbar->allocation.width : 0;
   printf ("width: %i\n", width);  
161    gdk_threads_leave ();    gdk_threads_leave ();
162    
163    return width;    return width;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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