Merge lp:~ted/libindicate/rb-crash into lp:libindicate/0.6

Proposed by Ted Gould
Status: Merged
Merged at revision: 386
Proposed branch: lp:~ted/libindicate/rb-crash
Merge into: lp:libindicate/0.6
Diff against target: 14 lines (+5/-0)
1 file modified
libindicate/server.c (+5/-0)
To merge this branch: bzr merge lp:~ted/libindicate/rb-crash
Reviewer Review Type Date Requested Status
David Barth Approve
Review via email: mp+34560@code.launchpad.net

Description of the change

Unreferences the proxy object on dispose so that we don't get any more signals from it.

To post a comment you must log in.
Revision history for this message
David Barth (dbarth) wrote :

+1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'libindicate/server.c'
2--- libindicate/server.c 2010-02-18 22:02:35 +0000
3+++ libindicate/server.c 2010-09-03 17:54:39 +0000
4@@ -435,6 +435,11 @@
5 g_signal_emit(server, signals[SERVER_HIDE], 0, priv->type ? priv->type : "", TRUE);
6 }
7
8+ if (priv->dbus_proxy != NULL) {
9+ g_object_unref(priv->dbus_proxy);
10+ priv->dbus_proxy = NULL;
11+ }
12+
13 return;
14 }
15

Subscribers

People subscribed via source and target branches

to all changes: