diff options
Diffstat (limited to 'gtk/gtkfixed.c')
-rw-r--r-- | gtk/gtkfixed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfixed.c b/gtk/gtkfixed.c index 467b15b6a4..b17404795f 100644 --- a/gtk/gtkfixed.c +++ b/gtk/gtkfixed.c @@ -271,7 +271,7 @@ gtk_fixed_realize (GtkWidget *widget) attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP; - widget->window = gdk_window_new (widget->parent->window, &attributes, + widget->window = gdk_window_new (gtk_widget_get_parent_window (widget), &attributes, attributes_mask); gdk_window_set_user_data (widget->window, widget); |