[gtk+/rendering-cleanup] Remove unused Bitmap/Colormap variables
- From: Kristian Rietveld <kristian src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup] Remove unused Bitmap/Colormap variables
- Date: Tue, 14 Sep 2010 06:38:32 +0000 (UTC)
commit b4359615ac6a63746fffb1d1fea2026a692b88ae
Author: Kristian Rietveld <kris gtk org>
Date: Tue Sep 14 08:32:39 2010 +0200
Remove unused Bitmap/Colormap variables
gtk/gtkdnd-quartz.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkdnd-quartz.c b/gtk/gtkdnd-quartz.c
index bfc8b7c..23ec00b 100644
--- a/gtk/gtkdnd-quartz.c
+++ b/gtk/gtkdnd-quartz.c
@@ -81,9 +81,6 @@ struct _GtkDragSourceSite
GtkImageStockData stock;
GtkImageIconNameData name;
} icon_data;
- GdkBitmap *icon_mask;
-
- GdkColormap *colormap; /* Colormap for drag icon */
/* Stored button press information to detect drag beginning */
gint state;
@@ -1463,10 +1460,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;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]