From e1d5ee280cb300c7fe18d9b9cdf2b04ff2cac931 Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 18 Mar 2015 12:48:46 +0300 Subject: notification area: prevent crash from upstream commit: https://git.gnome.org/browse/gnome-panel/commit/applets/notification_area/na-tray-manager.c?id=2adbcc5308577d864b09062a3343b9f8dbcdcd7f --- applets/notification_area/na-tray-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.1