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 |
|
|
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; |
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; |