diff options
Diffstat (limited to 'gtk/gtksocket.c')
-rw-r--r-- | gtk/gtksocket.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtksocket.c b/gtk/gtksocket.c index 64127ea4f8..762cc6ed48 100644 --- a/gtk/gtksocket.c +++ b/gtk/gtksocket.c @@ -381,10 +381,9 @@ gtk_socket_realize (GtkWidget *widget) attributes.height = allocation.height; attributes.wclass = GDK_INPUT_OUTPUT; attributes.visual = gtk_widget_get_visual (widget); - attributes.colormap = gtk_widget_get_colormap (widget); attributes.event_mask = GDK_FOCUS_CHANGE_MASK; - attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP; + attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL; window = gdk_window_new (gtk_widget_get_parent_window (widget), &attributes, attributes_mask); |