aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-gui-utils.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@novell.com>2004-11-26 22:57:49 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-11-26 22:57:49 +0800
commit43cbcd8b63c9f876d78daf14883134080b4cc937 (patch)
tree5f51230c0c8519f09ddd8622b38ef6434fe1268d /e-util/e-gui-utils.c
parente77cfd7e4008635870949d708133a848294dd6fd (diff)
downloadgsoc2013-evolution-43cbcd8b63c9f876d78daf14883134080b4cc937.tar
gsoc2013-evolution-43cbcd8b63c9f876d78daf14883134080b4cc937.tar.gz
gsoc2013-evolution-43cbcd8b63c9f876d78daf14883134080b4cc937.tar.bz2
gsoc2013-evolution-43cbcd8b63c9f876d78daf14883134080b4cc937.tar.lz
gsoc2013-evolution-43cbcd8b63c9f876d78daf14883134080b4cc937.tar.xz
gsoc2013-evolution-43cbcd8b63c9f876d78daf14883134080b4cc937.tar.zst
gsoc2013-evolution-43cbcd8b63c9f876d78daf14883134080b4cc937.zip
get the image directly from the icon factory
2004-11-26 JP Rosevear <jpr@novell.com> * e-gui-utils.c (e_create_image_widget): get the image directly from the icon factory * e-config.c: insert debug defines so we can turn spew on and off * e-event.c: insert debug defines so we can turn spew on and off * e-menu.c: insert debug defines so we can turn spew on and off * e-plugin.c: insert debug defines and set to off for now * e-popup.c: insert debug defines so we can turn spew on and off (e_popup_create_menu): get the image directly from the icon factory svn path=/trunk/; revision=27997
Diffstat (limited to 'e-util/e-gui-utils.c')
-rw-r--r--e-util/e-gui-utils.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/e-util/e-gui-utils.c b/e-util/e-gui-utils.c
index cb9f57e5c1..3e8849fe93 100644
--- a/e-util/e-gui-utils.c
+++ b/e-util/e-gui-utils.c
@@ -40,10 +40,7 @@ GtkWidget *e_create_image_widget(gchar *name,
GtkWidget *w;
if (string1) {
- pixbuf = e_icon_factory_get_icon (string1, E_ICON_SIZE_DIALOG);
-
- w = gtk_image_new_from_pixbuf (pixbuf);
- g_object_unref (pixbuf);
+ w = e_icon_factory_get_image (string1, E_ICON_SIZE_DIALOG);
gtk_misc_set_alignment (GTK_MISC (w), 0.5, 0.5);