From d262e26a02d3e1cc8477a30cff7288c7073b80ed Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 22 Oct 2010 13:39:12 +0200 Subject: 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, 65 deletions(-) delete mode 100644 widgets/table/add-col.xpm delete mode 100644 widgets/table/remove-col.xpm (limited to 'widgets/table') diff --git a/widgets/table/add-col.xpm b/widgets/table/add-col.xpm deleted file mode 100644 index 6dadad6fcc..0000000000 --- a/widgets/table/add-col.xpm +++ /dev/null @@ -1,22 +0,0 @@ -/* XPM */ -static const gchar *add_col_xpm[] = { -"16 16 3 1", -" c None", -". c #000000", -"+ c #FFFFFF", -" ", -" ", -" ", -" ", -" .............. ", -" .++++++++++++. ", -" .++++++++++++. ", -" ....+++....... ", -" .+. ", -" . ", -" ", -" ", -" ", -" ", -" ", -" "}; diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c index 5135c69a11..43400cae82 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), diff --git a/widgets/table/remove-col.xpm b/widgets/table/remove-col.xpm deleted file mode 100644 index 570d1862d1..0000000000 --- a/widgets/table/remove-col.xpm +++ /dev/null @@ -1,22 +0,0 @@ -/* XPM */ -static const gchar *remove_col_xpm[] = { -"16 16 3 1", -" c None", -". c #000000", -"+ c #FF0000", -"... ...", -".++. .++.", -".+++. .+++.", -" .+++. .+++. ", -" .+++. .+++. ", -" .+++..+++. ", -" .++++++. ", -" .++++. ", -" .++++. ", -" .++++++. ", -" .+++..+++. ", -" .+++. .+++. ", -" .+++. .+++. ", -".+++. .+++.", -".++. .++.", -"... ..."}; -- cgit v1.2.3