aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-06-18 16:56:11 -0500
committerTed Gould <ted@canonical.com>2009-06-18 16:56:11 -0500
commit369442ddbe17b5886f0dfb3d3cfc54b3d0518186 (patch)
tree40201377c1907281151e02a324bf034f4630f4f7 /libdbusmenu-glib
parentf56565b09f6747442f94f0218466f1a3d6b8869d (diff)
downloadlibdbusmenu-369442ddbe17b5886f0dfb3d3cfc54b3d0518186.tar.gz
libdbusmenu-369442ddbe17b5886f0dfb3d3cfc54b3d0518186.tar.bz2
libdbusmenu-369442ddbe17b5886f0dfb3d3cfc54b3d0518186.zip
Making it so that if we clear the menu structure by destroying the proxies we also signal that to the callers.
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r--libdbusmenu-glib/client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c
index 043bf43..97265db 100644
--- a/libdbusmenu-glib/client.c
+++ b/libdbusmenu-glib/client.c
@@ -351,6 +351,7 @@ proxy_destroyed (GObject * gobj_proxy, gpointer userdata)
if (priv->root != NULL) {
g_object_unref(G_OBJECT(priv->root));
priv->root = NULL;
+ g_signal_emit(G_OBJECT(userdata), signals[LAYOUT_UPDATED], 0, TRUE);
}
if ((gpointer)priv->menuproxy == (gpointer)gobj_proxy) {