Merge lp:~unity-team/bamf/bamf.children-cache-fix into lp:bamf/0.4

Proposed by Jason Smith
Status: Merged
Approved by: Andrea Azzarone
Approved revision: 431
Merged at revision: 431
Proposed branch: lp:~unity-team/bamf/bamf.children-cache-fix
Merge into: lp:bamf/0.4
Diff against target: 16 lines (+6/-0)
1 file modified
lib/libbamf/bamf-view.c (+6/-0)
To merge this branch: bzr merge lp:~unity-team/bamf/bamf.children-cache-fix
Reviewer Review Type Date Requested Status
Andrea Azzarone (community) Approve
Review via email: mp+90014@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Andrea Azzarone (azzar1) wrote :

Works well.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/libbamf/bamf-view.c'
2--- lib/libbamf/bamf-view.c 2012-01-18 09:34:34 +0000
3+++ lib/libbamf/bamf-view.c 2012-01-24 23:20:28 +0000
4@@ -547,6 +547,12 @@
5
6 if (priv->sticky && priv->proxy)
7 {
8+ if (priv->cached_children)
9+ {
10+ g_list_free(priv->cached_children);
11+ priv->cached_children = NULL;
12+ }
13+
14 dbus_g_proxy_disconnect_signal (priv->proxy,
15 "ActiveChanged",
16 (GCallback) bamf_view_on_active_changed,

Subscribers

People subscribed via source and target branches