aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-combo-button.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-combo-button.c')
-rw-r--r--widgets/misc/e-combo-button.c28
1 files changed, 1 insertions, 27 deletions
diff --git a/widgets/misc/e-combo-button.c b/widgets/misc/e-combo-button.c
index 0929d0bbd5..09a8aba46f 100644
--- a/widgets/misc/e-combo-button.c
+++ b/widgets/misc/e-combo-button.c
@@ -51,17 +51,6 @@ struct _EComboButtonPrivate {
#define SPACING 2
-static const char *arrow_xpm[] = {
- "11 5 2 1",
- " c none",
- ". c #000000000000",
- " ......... ",
- " ....... ",
- " ..... ",
- " ... ",
- " . ",
-};
-
#define PARENT_TYPE gtk_button_get_type ()
static GtkButtonClass *parent_class = NULL;
@@ -108,21 +97,6 @@ create_empty_pixmap_widget (void)
return pixmap_widget;
}
-static GtkWidget *
-create_arrow_pixmap_widget (void)
-{
- GtkWidget *pixmap_widget;
- GdkPixbuf *pixbuf;
-
- pixbuf = gdk_pixbuf_new_from_xpm_data (arrow_xpm);
-
- pixmap_widget = create_pixmap_widget_from_pixbuf (pixbuf);
-
- g_object_unref (pixbuf);
-
- return pixmap_widget;
-}
-
static void
set_icon (EComboButton *combo_button,
GdkPixbuf *pixbuf)
@@ -453,7 +427,7 @@ init (EComboButton *combo_button)
2 * GTK_WIDGET (combo_button)->style->xthickness);
gtk_widget_show (priv->label);
- priv->arrow_pixmap = create_arrow_pixmap_widget ();
+ priv->arrow_pixmap = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_NONE);
gtk_box_pack_start (GTK_BOX (priv->hbox), priv->arrow_pixmap, TRUE, TRUE,
GTK_WIDGET (combo_button)->style->xthickness);
gtk_widget_show (priv->arrow_pixmap);