mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 06:55:36 +00:00
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
22 lines
376 B
C
22 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;
|
|
}
|
|
|