diff options
author | Stefano Karapetsas <[email protected]> | 2014-06-25 11:26:17 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-06-25 11:26:17 +0200 |
commit | 67c9f12a0d4188b546284efec2d0cd1b90f9052d (patch) | |
tree | d91e012aa6489f8e227bbc0d769c8130923dc2f6 /applets | |
parent | 4a769cc810d949623d9f489f244092407c924882 (diff) | |
parent | 5185103c7acac7f6f291bbd5f7c969c8809237e7 (diff) | |
download | mate-panel-67c9f12a0d4188b546284efec2d0cd1b90f9052d.tar.bz2 mate-panel-67c9f12a0d4188b546284efec2d0cd1b90f9052d.tar.xz |
Merge pull request #212 from rilian-la-te/fix_expand
Fix expand
Diffstat (limited to 'applets')
-rw-r--r-- | applets/notification_area/na-tray.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/applets/notification_area/na-tray.c b/applets/notification_area/na-tray.c index 83f502e1..d2bcad3b 100644 --- a/applets/notification_area/na-tray.c +++ b/applets/notification_area/na-tray.c @@ -247,13 +247,17 @@ tray_removed (NaTrayManager *manager, TraysScreen *trays_screen) { NaTray *tray; + NaTrayPrivate *priv; tray = g_hash_table_lookup (trays_screen->icon_table, icon); if (tray == NULL) return; + priv = tray->priv; g_assert (tray->priv->trays_screen == trays_screen); + gtk_container_remove (GTK_CONTAINER (priv->box), icon); + g_hash_table_remove (trays_screen->icon_table, icon); /* this will also destroy the tip associated to this icon */ g_hash_table_remove (trays_screen->tip_table, icon); |