]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtktoolitemgroup.c
filechooserbutton: Give proper names to the SELECT_FOLDER tests with cancelled dialog
[~andy/gtk] / gtk / gtktoolitemgroup.c
index 5907bf4aa7cddb5a55d6636b8a8075e68271b5aa..d6aa8258c6bdcc9371231fb29f75f081dfc744e5 100644 (file)
@@ -1241,7 +1241,7 @@ gtk_tool_item_group_realize (GtkWidget *widget)
                            &attributes, attributes_mask);
   gtk_widget_set_window (widget, window);
 
-  gdk_window_set_user_data (window, widget);
+  gtk_widget_register_window (widget, window);
 
   gtk_style_context_set_background (context, window);