aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-11 15:37:53 -0600
committerTed Gould <ted@gould.cx>2010-03-11 15:37:53 -0600
commit6b6a72dc7a143cec7280bd779ca04110cd7ea851 (patch)
treebf9a16309a70dbaa5412244b8c9cc3b09eb9b4c4 /src
parentb3f9c444feb4b394bda3802c8fe15ea0578f509b (diff)
downloadlibayatana-appindicator-6b6a72dc7a143cec7280bd779ca04110cd7ea851.tar.gz
libayatana-appindicator-6b6a72dc7a143cec7280bd779ca04110cd7ea851.tar.bz2
libayatana-appindicator-6b6a72dc7a143cec7280bd779ca04110cd7ea851.zip
Switching to use the update function.
Diffstat (limited to 'src')
-rw-r--r--src/indicator-application.c4
1 files changed, 1 insertions, 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;
}