diff --git a/gtk/gtkpaned.c b/gtk/gtkpaned.c index 70dc15b87a..c03d6e8346 100644 --- a/gtk/gtkpaned.c +++ b/gtk/gtkpaned.c @@ -50,7 +50,6 @@ struct _GtkPanedPrivate GdkCursorType cursor_type; GdkDevice *grab_device; - GdkGC *xor_gc; GdkRectangle handle_pos; GdkWindow *handle; @@ -609,7 +608,6 @@ gtk_paned_init (GtkPaned *paned) priv->child1 = NULL; priv->child2 = NULL; priv->handle = NULL; - priv->xor_gc = NULL; priv->cursor_type = GDK_CROSS; priv->handle_pos.width = 5; @@ -1067,12 +1065,6 @@ gtk_paned_unrealize (GtkWidget *widget) GtkPaned *paned = GTK_PANED (widget); GtkPanedPrivate *priv = paned->priv; - if (priv->xor_gc) - { - g_object_unref (priv->xor_gc); - priv->xor_gc = NULL; - } - if (priv->handle) { gdk_window_set_user_data (priv->handle, NULL);