Merge lp:~chrisccoulson/unity/lp725631 into lp:unity

Proposed by Chris Coulson
Status: Merged
Merged at revision: 937
Proposed branch: lp:~chrisccoulson/unity/lp725631
Merge into: lp:unity
Diff against target: 22 lines (+13/-0)
1 file modified
services/panel-service.c (+13/-0)
To merge this branch: bzr merge lp:~chrisccoulson/unity/lp725631
Reviewer Review Type Date Requested Status
Neil J. Patel (community) Approve
Review via email: mp+52627@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Neil J. Patel (njpatel) wrote :

Approved and merged, thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'services/panel-service.c'
2--- services/panel-service.c 2011-02-23 16:49:18 +0000
3+++ services/panel-service.c 2011-03-09 00:13:43 +0000
4@@ -486,6 +486,19 @@
5 IndicatorObjectEntry *entry,
6 PanelService *self)
7 {
8+ PanelServicePrivate *priv;
9+ gchar *id;
10+
11+ g_return_if_fail (PANEL_IS_SERVICE (self));
12+ g_return_if_fail (entry != NULL);
13+
14+ priv = self->priv;
15+
16+ id = g_strdup_printf ("%p", entry);
17+ g_hash_table_remove (priv->entry2indicator_hash, entry);
18+ g_hash_table_remove (priv->id2entry_hash, id);
19+ g_free (id);
20+
21 notify_object (object);
22 }
23