diff options
author | JP Rosevear <jpr@novell.com> | 2004-11-26 23:52:59 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-11-26 23:52:59 +0800 |
commit | bbfd4e8ca408c68ab32e5a04a8cc71b7d42c563c (patch) | |
tree | 0638349ef5aaa10f1237e7b85550ff1876de6399 | |
parent | bb4883ffd07c1cb088c816b62faaf5e540ddfbd8 (diff) | |
download | gsoc2013-evolution-bbfd4e8ca408c68ab32e5a04a8cc71b7d42c563c.tar gsoc2013-evolution-bbfd4e8ca408c68ab32e5a04a8cc71b7d42c563c.tar.gz gsoc2013-evolution-bbfd4e8ca408c68ab32e5a04a8cc71b7d42c563c.tar.bz2 gsoc2013-evolution-bbfd4e8ca408c68ab32e5a04a8cc71b7d42c563c.tar.lz gsoc2013-evolution-bbfd4e8ca408c68ab32e5a04a8cc71b7d42c563c.tar.xz 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
-rw-r--r-- | plugins/audio-inline/ChangeLog | 5 | ||||
-rw-r--r-- | plugins/audio-inline/audio-inline.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/plugins/audio-inline/ChangeLog b/plugins/audio-inline/ChangeLog index 9ad2ed9ca4..6dbf786aa7 100644 --- a/plugins/audio-inline/ChangeLog +++ b/plugins/audio-inline/ChangeLog @@ -1,3 +1,8 @@ +2004-11-26 JP Rosevear <jpr@novell.com> + + * audio-inline.c (org_gnome_audio_inline_add_button): get image + from icon factory directly + 2004-11-11 Radek Doulik <rodo@ximian.com> * org-gnome-audio-inline.eplug.in: fixed author and description 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 (); |