diff options
author | Benjamin Otte <otte@redhat.com> | 2010-10-22 19:39:12 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-30 01:50:05 +0800 |
commit | d262e26a02d3e1cc8477a30cff7288c7073b80ed (patch) | |
tree | 0f97af18a1c072b0260b507500325230aaae7986 /widgets/table | |
parent | 8563661b4e952167e01e21252b4b72e524b2eae4 (diff) | |
download | gsoc2013-evolution-d262e26a02d3e1cc8477a30cff7288c7073b80ed.tar.gz gsoc2013-evolution-d262e26a02d3e1cc8477a30cff7288c7073b80ed.tar.zst gsoc2013-evolution-d262e26a02d3e1cc8477a30cff7288c7073b80ed.zip |
e-table: Remove unused dnd pixmaps
Diffstat (limited to 'widgets/table')
-rw-r--r-- | widgets/table/add-col.xpm | 22 | ||||
-rw-r--r-- | widgets/table/e-table-header-item.c | 21 | ||||
-rw-r--r-- | widgets/table/remove-col.xpm | 22 |
3 files changed, 0 insertions, 65 deletions
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", -"... ...", -".++. .++.", -".+++. .+++.", -" .+++. .+++. ", -" .+++. .+++. ", -" .+++..+++. ", -" .++++++. ", -" .++++. ", -" .++++. ", -" .++++++. ", -" .+++..+++. ", -" .+++. .+++. ", -" .+++. .+++. ", -".+++. .+++.", -".++. .++.", -"... ..."}; |