diff options
author | Ted Gould <ted@gould.cx> | 2010-01-14 15:14:12 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-01-14 15:14:12 -0600 |
commit | fe7f3dcf1257a4cba7375439ae50c250abb39a56 (patch) | |
tree | f3aa7970d0162b9acf1caa5e0ba8ed3da4ea90ef /src | |
parent | f0104e11357b5804aea2ecead13f99231b671a75 (diff) | |
download | ayatana-indicator-application-fe7f3dcf1257a4cba7375439ae50c250abb39a56.tar.gz ayatana-indicator-application-fe7f3dcf1257a4cba7375439ae50c250abb39a56.tar.bz2 ayatana-indicator-application-fe7f3dcf1257a4cba7375439ae50c250abb39a56.zip |
We should have kept ref's to these.
Diffstat (limited to 'src')
-rw-r--r-- | src/indicator-application.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/indicator-application.c b/src/indicator-application.c index c330645..8e88f8e 100644 --- a/src/indicator-application.c +++ b/src/indicator-application.c @@ -303,6 +303,10 @@ application_added (DBusGProxy * proxy, const gchar * iconname, gint position, co app->entry.label = NULL; app->entry.menu = GTK_MENU(dbusmenu_gtkmenu_new((gchar *)dbusaddress, (gchar *)dbusobject)); + /* Keep copies of these for ourself, just in case. */ + g_object_ref(app->entry.image); + g_object_ref(app->entry.menu); + gtk_widget_show(GTK_WIDGET(app->entry.image)); priv->applications = g_list_insert(priv->applications, app, position); |