[evolution] e-table: Remove unused dnd pixmaps



commit d262e26a02d3e1cc8477a30cff7288c7073b80ed
Author: Benjamin Otte <otte redhat com>
Date:   Fri Oct 22 13:39:12 2010 +0200

    e-table: Remove unused dnd pixmaps

 widgets/table/add-col.xpm           |   22 ----------------------
 widgets/table/e-table-header-item.c |   21 ---------------------
 widgets/table/remove-col.xpm        |   22 ----------------------
 3 files changed, 0 insertions(+), 65 deletions(-)
---
diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c
index 5135c69..43400ca 100644
--- a/widgets/table/e-table-header-item.c
+++ b/widgets/table/e-table-header-item.c
@@ -47,8 +47,6 @@
 
 #include "e-table-header-item.h"
 
-#include "add-col.xpm"
-#include "remove-col.xpm"
 #include "arrow-up.xpm"
 #include "arrow-down.xpm"
 
@@ -83,13 +81,6 @@ static void ethi_drop_table_header (ETableHeaderItem *ethi);
 
 static GtkWidget *arrow_up, *arrow_down;
 
-/*
- * DnD icons
- */
-static GdkColormap *dnd_colormap;
-static GdkPixmap *remove_col_pixmap, *remove_col_mask;
-static GdkPixmap *add_col_pixmap, *add_col_mask;
-
 enum {
 	PROP_0,
 	PROP_TABLE_HEADER,
@@ -2036,18 +2027,6 @@ ethi_class_init (ETableHeaderItemClass *klass)
 							      E_TREE_TYPE,
 							      G_PARAM_WRITABLE));
 
-	/*
-	 * Create our pixmaps for DnD
-	 */
-	dnd_colormap = gtk_widget_get_default_colormap ();
-	remove_col_pixmap = gdk_pixmap_colormap_create_from_xpm_d (
-		NULL, dnd_colormap,
-		&remove_col_mask, NULL, (gchar **) remove_col_xpm);
-
-	add_col_pixmap = gdk_pixmap_colormap_create_from_xpm_d (
-		NULL, dnd_colormap,
-		&add_col_mask, NULL, (gchar **) add_col_xpm);
-
 	ethi_signals[BUTTON_PRESSED] =
 		g_signal_new ("button_pressed",
 			      G_OBJECT_CLASS_TYPE (object_class),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]