aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/audio-inline/audio-inline.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@novell.com>2004-11-26 23:52:59 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-11-26 23:52:59 +0800
commitbbfd4e8ca408c68ab32e5a04a8cc71b7d42c563c (patch)
tree0638349ef5aaa10f1237e7b85550ff1876de6399 /plugins/audio-inline/audio-inline.c
parentbb4883ffd07c1cb088c816b62faaf5e540ddfbd8 (diff)
downloadgsoc2013-evolution-bbfd4e8ca408c68ab32e5a04a8cc71b7d42c563c.tar.gz
gsoc2013-evolution-bbfd4e8ca408c68ab32e5a04a8cc71b7d42c563c.tar.zst
gsoc2013-evolution-bbfd4e8ca408c68ab32e5a04a8cc71b7d42c563c.zip
get image from icon factory directly
2004-11-26 JP Rosevear <jpr@novell.com> * audio-inline.c (org_gnome_audio_inline_add_button): get image from icon factory directly svn path=/trunk/; revision=28001
Diffstat (limited to 'plugins/audio-inline/audio-inline.c')
-rw-r--r--plugins/audio-inline/audio-inline.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/audio-inline/audio-inline.c b/plugins/audio-inline/audio-inline.c
index e7cdc3575f..36c6cfed44 100644
--- a/plugins/audio-inline/audio-inline.c
+++ b/plugins/audio-inline/audio-inline.c
@@ -254,10 +254,7 @@ org_gnome_audio_inline_add_button (GtkWidget *box, char *icon_name, GCallback cb
GtkWidget *icon, *button;
GdkPixbuf *pixbuf;
- pixbuf = e_icon_factory_get_icon (icon_name, E_ICON_SIZE_LARGE_TOOLBAR);
-
- icon = gtk_image_new_from_pixbuf (pixbuf);
- g_object_unref (pixbuf);
+ icon = e_icon_factory_get_image (icon_name, E_ICON_SIZE_LARGE_TOOLBAR);
gtk_widget_show (icon);
button = gtk_button_new ();