paned: Remove unused GdkGC

This commit is contained in:
Benjamin Otte 2010-07-31 14:36:04 +02:00
parent 5f1827983b
commit 5d5332a493

View File

@ -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);