[gtk+/rendering-cleanup: 119/144] dnd: Remove unused colormap code
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup: 119/144] dnd: Remove unused colormap code
- Date: Thu, 23 Sep 2010 21:27:22 +0000 (UTC)
commit a2ae4d86a8aecc67574fec82c833c3d44a6eae56
Author: Benjamin Otte <otte redhat com>
Date: Sat Aug 28 23:30:39 2010 +0200
dnd: Remove unused colormap code
gtk/gtkdnd.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index ed03244..98dffcf 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;
@@ -2848,10 +2846,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;
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]