diff options
author | Ted Gould <ted@gould.cx> | 2011-03-08 15:03:24 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-03-08 15:03:24 -0600 |
commit | d108784a9b3b326e17bf1598123a9bf8f6a6c22b (patch) | |
tree | c1c100cbcb237f4d318be98e08b2465d81b67cd5 /libdbusmenu-gtk | |
parent | 3efb996d90178b9c0d615c5237c0e39328479bd2 (diff) | |
download | libdbusmenu-d108784a9b3b326e17bf1598123a9bf8f6a6c22b.tar.gz libdbusmenu-d108784a9b3b326e17bf1598123a9bf8f6a6c22b.tar.bz2 libdbusmenu-d108784a9b3b326e17bf1598123a9bf8f6a6c22b.zip |
Disconnecting the child removed handlers
Diffstat (limited to 'libdbusmenu-gtk')
-rw-r--r-- | libdbusmenu-gtk/parser.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libdbusmenu-gtk/parser.c b/libdbusmenu-gtk/parser.c index b66aa46..b1fc9d9 100644 --- a/libdbusmenu-gtk/parser.c +++ b/libdbusmenu-gtk/parser.c @@ -144,6 +144,8 @@ parse_data_free (gpointer data) if (pdata != NULL && pdata->shell != NULL) { g_signal_handlers_disconnect_matched(pdata->shell, (GSignalMatchType)G_SIGNAL_MATCH_FUNC, 0, 0, NULL, G_CALLBACK(child_added_cb), NULL); + g_signal_handlers_disconnect_matched(pdata->shell, (GSignalMatchType)G_SIGNAL_MATCH_FUNC, + 0, 0, NULL, G_CALLBACK(child_removed_cb), NULL); g_object_remove_weak_pointer(G_OBJECT(pdata->shell), (gpointer*)&pdata->shell); } |