summaryrefslogtreecommitdiff
path: root/gtk/gtktoolitemgroup.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-06-06 19:40:35 +0200
committerBenjamin Otte <otte@redhat.com>2011-06-09 05:51:36 +0200
commit4dbeac9275b31a357f81eac09c375f2459bde597 (patch)
tree02519742fe75ab0967ef573da3fa5c8821141404 /gtk/gtktoolitemgroup.c
parenta64bc46c9e1938a4e783e24aa1627c60fa48d4d0 (diff)
downloadgtk+-4dbeac9275b31a357f81eac09c375f2459bde597.tar.gz
toolpalette: Remove composite support
It seems to be very broken wrt input handling, causing random icons to light up etc. So until this is fixed, better remove composite support. It only removes animations, so it's not a big loss for functionality.
Diffstat (limited to 'gtk/gtktoolitemgroup.c')
-rw-r--r--gtk/gtktoolitemgroup.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gtk/gtktoolitemgroup.c b/gtk/gtktoolitemgroup.c
index 554bf8d92b..20981baa34 100644
--- a/gtk/gtktoolitemgroup.c
+++ b/gtk/gtktoolitemgroup.c
@@ -1207,7 +1207,6 @@ gtk_tool_item_group_realize (GtkWidget *widget)
GtkWidget *toplevel_window;
GdkWindow *window;
GdkWindowAttr attributes;
- GdkDisplay *display;
gint attributes_mask;
guint border_width;
GtkStyleContext *context;
@@ -1236,11 +1235,6 @@ gtk_tool_item_group_realize (GtkWidget *widget)
&attributes, attributes_mask);
gtk_widget_set_window (widget, window);
- display = gdk_window_get_display (window);
-
- if (gdk_display_supports_composite (display))
- gdk_window_set_composited (window, TRUE);
-
gdk_window_set_user_data (window, widget);
gtk_style_context_set_background (context, window);