diff options
author | Benjamin Otte <otte@redhat.com> | 2010-08-28 18:04:08 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-09-26 15:11:31 +0200 |
commit | e8a6bad00bc9c544cece170f01dd220e5abc3254 (patch) | |
tree | 5ed0e4e03140f34d32567121f70bc49fe031a46c /gtk/gtksocket.c | |
parent | a38472c139ba20384e1ec93fca4bc789b0c69345 (diff) | |
download | gtk+-e8a6bad00bc9c544cece170f01dd220e5abc3254.tar.gz |
gtk: Don't set colormap anymore when creating GDK windows
Colormaps are about to be removed, so not using them sounds like an
awesome idea.
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); |