[gtk+] paned: Remove unused GdkGC
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] paned: Remove unused GdkGC
- Date: Sat, 31 Jul 2010 20:43:10 +0000 (UTC)
commit 5d5332a493929995db34d674a6602e5443169a1e
Author: Benjamin Otte <otte redhat com>
Date: Sat Jul 31 14:36:04 2010 +0200
paned: Remove unused GdkGC
gtk/gtkpaned.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/gtk/gtkpaned.c b/gtk/gtkpaned.c
index 70dc15b..c03d6e8 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]