summaryrefslogtreecommitdiff
path: root/gtk/gtkdnd.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-08-28 23:30:39 +0200
committerBenjamin Otte <otte@redhat.com>2010-09-26 15:11:32 +0200
commita9f198082ae3f4de921c9f1e66cac6509902f863 (patch)
tree1a9f1d0127e3e7aa5f28f20e3a50bc9882ee2979 /gtk/gtkdnd.c
parent3607a4c0826e5723d1e386a5812ef6f62b06a3c5 (diff)
downloadgtk+-a9f198082ae3f4de921c9f1e66cac6509902f863.tar.gz
dnd: Remove unused colormap code
Diffstat (limited to 'gtk/gtkdnd.c')
-rw-r--r--gtk/gtkdnd.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index 244098d0ba..4f3c8d62eb 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -84,8 +84,6 @@ struct _GtkDragSourceSite
GtkImageIconNameData name;
} icon_data;
- GdkColormap *colormap; /* Colormap for drag icon */
-
/* Stored button press information to detect drag beginning */
gint state;
gint x, y;
@@ -2839,10 +2837,6 @@ gtk_drag_source_unset_icon (GtkDragSourceSite *site)
break;
}
site->icon_type = GTK_IMAGE_EMPTY;
-
- if (site->colormap)
- g_object_unref (site->colormap);
- site->colormap = NULL;
}
/**