ce4014e8b5
* glue/widget.c (gtksharp_gtk_widget_get_window): Fix. Return the window, not the address of the window pointer. svn path=/trunk/gtk-sharp/; revision=12073
21 lines
376 B
C
21 lines
376 B
C
/* widget.c : Glue to access fields in GtkWidget.
|
|
*
|
|
* Author: Rachel Hestilow <hestilow@ximian.com>
|
|
*
|
|
* <c> 2002 Rachel Hestilow, Mike Kestner
|
|
*/
|
|
|
|
#include <gtk/gtkwidget.h>
|
|
|
|
GdkRectangle*
|
|
gtksharp_gtk_widget_get_allocation (GtkWidget *widget)
|
|
{
|
|
return &widget->allocation;
|
|
}
|
|
|
|
GdkWindow *
|
|
gtksharp_gtk_widget_get_window (GtkWidget *widget)
|
|
{
|
|
return widget->window;
|
|
}
|
|
|