diff options
author | monsta <[email protected]> | 2015-03-17 12:02:51 +0300 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2015-03-19 10:13:40 +0100 |
commit | 3f9eb20c55856f23cc841a75ac6d4fe5fba9bb9c (patch) | |
tree | 012cf2c98a75d89e0daccc68eea04587dd236a91 | |
parent | 52299ee7dc2ff5f4c9b57bbe05ae31839abd2f0f (diff) | |
download | mate-panel-3f9eb20c55856f23cc841a75ac6d4fe5fba9bb9c.tar.bz2 mate-panel-3f9eb20c55856f23cc841a75ac6d4fe5fba9bb9c.tar.xz |
notification area: prevent crash
from upstream commit:
https://git.gnome.org/browse/gnome-panel/commit/applets/notification_area/na-tray-manager.c?id=2adbcc5308577d864b09062a3343b9f8dbcdcd7f
Closes https://github.com/mate-desktop/mate-panel/pull/291
-rw-r--r-- | applets/notification_area/na-tray-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/notification_area/na-tray-manager.c b/applets/notification_area/na-tray-manager.c index 4fcb3614..45720d3a 100644 --- a/applets/notification_area/na-tray-manager.c +++ b/applets/notification_area/na-tray-manager.c @@ -298,8 +298,8 @@ na_tray_manager_handle_dock_request (NaTrayManager *manager, if (!gtk_socket_get_plug_window (GTK_SOCKET (child))) { /* Embedding failed, we won't get a plug-removed signal */ + /* This signal destroys the socket */ g_signal_emit (manager, manager_signals[TRAY_ICON_REMOVED], 0, child); - gtk_widget_destroy (child); return; } |