diff options
author | Ted Gould <ted@gould.cx> | 2010-02-25 14:28:33 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-02-25 14:28:33 -0600 |
commit | bb72be901bc2f022e2ecd9856640a75d7e8c0ddf (patch) | |
tree | 36c1c10e8e972eb2c702278f57f24da2f0c9a94a /src/libappindicator/app-indicator.c | |
parent | 1572f64f0a8329cfecd5395e643c538ad04ce54f (diff) | |
parent | 1cfa837edeaaf28d17a6e2106c944f709241edad (diff) | |
download | libayatana-appindicator-bb72be901bc2f022e2ecd9856640a75d7e8c0ddf.tar.gz libayatana-appindicator-bb72be901bc2f022e2ecd9856640a75d7e8c0ddf.tar.bz2 libayatana-appindicator-bb72be901bc2f022e2ecd9856640a75d7e8c0ddf.zip |
Hide the status icon when unref'd
Diffstat (limited to 'src/libappindicator/app-indicator.c')
-rw-r--r-- | src/libappindicator/app-indicator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c index 7c1ac82..263cd8c 100644 --- a/src/libappindicator/app-indicator.c +++ b/src/libappindicator/app-indicator.c @@ -885,6 +885,7 @@ unfallback (AppIndicator * self, GtkStatusIcon * status_icon) { g_signal_handlers_disconnect_by_func(G_OBJECT(self), status_icon_status_wrapper, status_icon); g_signal_handlers_disconnect_by_func(G_OBJECT(self), status_icon_changes, status_icon); + gtk_widget_hide(GTK_WIDGET(status_icon)); g_object_unref(G_OBJECT(status_icon)); return; } |