From 6b6a72dc7a143cec7280bd779ca04110cd7ea851 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 11 Mar 2010 15:37:53 -0600 Subject: Switching to use the update function. --- src/indicator-application.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/indicator-application.c b/src/indicator-application.c index 8fb553b..b681a24 100644 --- a/src/indicator-application.c +++ b/src/indicator-application.c @@ -526,10 +526,8 @@ application_icon_changed (DBusGProxy * proxy, gint position, const gchar * iconn icon is available we want to use it. Otherwise we'll just use the name we were given. */ gchar * longname = g_strdup_printf("%s-%s", iconname, PANEL_ICON_SUFFIX); - GtkImage * tempimage = indicator_image_helper(longname); + indicator_image_helper_update(app->entry.image, longname); g_free(longname); - gtk_image_set_from_pixbuf(app->entry.image, gtk_image_get_pixbuf(tempimage)); - g_object_ref_sink(tempimage); return; } -- cgit v1.2.3