aboutsummaryrefslogtreecommitdiff
path: root/src/libappindicator
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-25 10:47:38 -0600
committerTed Gould <ted@gould.cx>2010-02-25 10:47:38 -0600
commit1cfa837edeaaf28d17a6e2106c944f709241edad (patch)
tree36c1c10e8e972eb2c702278f57f24da2f0c9a94a /src/libappindicator
parent1572f64f0a8329cfecd5395e643c538ad04ce54f (diff)
downloadlibayatana-appindicator-1cfa837edeaaf28d17a6e2106c944f709241edad.tar.gz
libayatana-appindicator-1cfa837edeaaf28d17a6e2106c944f709241edad.tar.bz2
libayatana-appindicator-1cfa837edeaaf28d17a6e2106c944f709241edad.zip
Hiding the notification icon before unreffing it.
Diffstat (limited to 'src/libappindicator')
-rw-r--r--src/libappindicator/app-indicator.c1
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;
}