diff options
author | monsta <[email protected]> | 2015-05-21 11:34:32 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2015-05-21 11:34:32 +0300 |
commit | ba13afdc6898873da6b354a310074e7f186ca554 (patch) | |
tree | 1b038dce2d79fd2eab757262628b28d107d753e1 | |
parent | c1ec4043338539261c1ed0ad5258000b91ba8337 (diff) | |
parent | e1d5ee280cb300c7fe18d9b9cdf2b04ff2cac931 (diff) | |
download | mate-panel-ba13afdc6898873da6b354a310074e7f186ca554.tar.bz2 mate-panel-ba13afdc6898873da6b354a310074e7f186ca554.tar.xz |
Merge pull request #292 from monsta/patch-2
[1.8] notification area: prevent crash
-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; } |