aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-combo-button.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-07-23 21:49:30 +0800
committerDan Winship <danw@src.gnome.org>2003-07-23 21:49:30 +0800
commita1e92e17fa73a059db2be68ee6d0730bff59382b (patch)
treeee1547b2669ccf99c98c5222925be23bbd78be31 /widgets/misc/e-combo-button.c
parent3be35526b66418c9ccd664523620c8c7cde550b5 (diff)
downloadgsoc2013-evolution-a1e92e17fa73a059db2be68ee6d0730bff59382b.tar
gsoc2013-evolution-a1e92e17fa73a059db2be68ee6d0730bff59382b.tar.gz
gsoc2013-evolution-a1e92e17fa73a059db2be68ee6d0730bff59382b.tar.bz2
gsoc2013-evolution-a1e92e17fa73a059db2be68ee6d0730bff59382b.tar.lz
gsoc2013-evolution-a1e92e17fa73a059db2be68ee6d0730bff59382b.tar.xz
gsoc2013-evolution-a1e92e17fa73a059db2be68ee6d0730bff59382b.tar.zst
gsoc2013-evolution-a1e92e17fa73a059db2be68ee6d0730bff59382b.zip
Create the pixbuf from empty.xpm rather than just calling
* e-combo-button.c (create_empty_pixmap_widget): Create the pixbuf from empty.xpm rather than just calling gdk_pixbuf_new(), which doesn't actually initialize the pixel data. svn path=/trunk/; revision=21898
Diffstat (limited to 'widgets/misc/e-combo-button.c')
-rw-r--r--widgets/misc/e-combo-button.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/misc/e-combo-button.c b/widgets/misc/e-combo-button.c
index b4c75073fe..5d77d9daf8 100644
--- a/widgets/misc/e-combo-button.c
+++ b/widgets/misc/e-combo-button.c
@@ -25,6 +25,7 @@
#endif
#include "e-combo-button.h"
+#include "art/empty.xpm"
#include <gtk/gtkarrow.h>
#include <gtk/gtkhbox.h>
@@ -89,7 +90,7 @@ create_empty_pixmap_widget (void)
GtkWidget *pixmap_widget;
GdkPixbuf *pixbuf;
- pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, TRUE, 8, 1, 1);
+ pixbuf = gdk_pixbuf_new_from_xpm_data ((const char **)empty_xpm);
pixmap_widget = create_pixmap_widget_from_pixbuf (pixbuf);