diff options
author | monsta <[email protected]> | 2015-03-18 12:48:46 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2015-03-18 12:48:46 +0300 |
commit | e1d5ee280cb300c7fe18d9b9cdf2b04ff2cac931 (patch) | |
tree | 1b038dce2d79fd2eab757262628b28d107d753e1 | |
parent | c1ec4043338539261c1ed0ad5258000b91ba8337 (diff) | |
download | mate-panel-e1d5ee280cb300c7fe18d9b9cdf2b04ff2cac931.tar.bz2 mate-panel-e1d5ee280cb300c7fe18d9b9cdf2b04ff2cac931.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
-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 1a2acc7f..3538795d 100644 --- a/applets/notification_area/na-tray-manager.c +++ b/applets/notification_area/na-tray-manager.c @@ -303,8 +303,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; } |