summaryrefslogtreecommitdiff
path: root/gtk/gtktoolpalette.c
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2010-08-30 18:25:14 +0900
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-08-30 18:25:14 +0900
commit972f617b77dc02ade1295ed729101f77c804e7f8 (patch)
treee1f16826e561294e41c657807e95857be0990a42 /gtk/gtktoolpalette.c
parentbbf38a8ebd7459bb344290c97c6aa128ff95c260 (diff)
downloadgtk+-972f617b77dc02ade1295ed729101f77c804e7f8.tar.gz
Fixed GtkToolPalette realize() vfunc.
It seems with latest GSEAL work for widget->window access a call to gtk_widget_set_window() was missed (added the window assignment and now the palette shows up in Glade again).
Diffstat (limited to 'gtk/gtktoolpalette.c')
-rw-r--r--gtk/gtktoolpalette.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtktoolpalette.c b/gtk/gtktoolpalette.c
index 15ecf3eba8..de6d268151 100644
--- a/gtk/gtktoolpalette.c
+++ b/gtk/gtktoolpalette.c
@@ -683,6 +683,7 @@ gtk_tool_palette_realize (GtkWidget *widget)
window = gdk_window_new (gtk_widget_get_parent_window (widget),
&attributes, attributes_mask);
+ gtk_widget_set_window (widget, window);
gdk_window_set_user_data (window, widget);
gtk_widget_style_attach (widget);