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).
This commit is contained in:
Tristan Van Berkom 2010-08-30 18:25:14 +09:00
parent bbf38a8ebd
commit 972f617b77

View File

@ -683,6 +683,7 @@ gtk_tool_palette_realize (GtkWidget *widget)
window = gdk_window_new (gtk_widget_get_parent_window (widget), window = gdk_window_new (gtk_widget_get_parent_window (widget),
&attributes, attributes_mask); &attributes, attributes_mask);
gtk_widget_set_window (widget, window);
gdk_window_set_user_data (window, widget); gdk_window_set_user_data (window, widget);
gtk_widget_style_attach (widget); gtk_widget_style_attach (widget);