diff options
author | Ted Gould <ted@gould.cx> | 2010-01-14 15:16:50 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-01-14 15:16:50 -0600 |
commit | c30224141b8205c6cb46feda148a81fe1b51421a (patch) | |
tree | bf7eb1c33270e3c84b1749f126dbe125403ce670 /src | |
parent | 5a93b5e7a2d9f805756bdaa89d5a01f649f60da3 (diff) | |
parent | fe7f3dcf1257a4cba7375439ae50c250abb39a56 (diff) | |
download | ayatana-indicator-application-c30224141b8205c6cb46feda148a81fe1b51421a.tar.gz ayatana-indicator-application-c30224141b8205c6cb46feda148a81fe1b51421a.tar.bz2 ayatana-indicator-application-c30224141b8205c6cb46feda148a81fe1b51421a.zip |
Merging in the warnings branch.
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 72d3d0d..d697d96 100644 --- a/src/indicator-application.c +++ b/src/indicator-application.c @@ -317,6 +317,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); |