diff options
-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 (); |