Updating branch refs/heads/0.6.x
         to 15016d8b2b5ec0910f6771d7badfdfa06b1150cf (commit)
       from 4f0105bab613e65956c8d41c628cd6066fa8f77d (commit)

commit 15016d8b2b5ec0910f6771d7badfdfa06b1150cf
Author: Andre Ellguth <an...@ellguth.com>
Date:   Sun Aug 26 20:14:12 2012 +0200

    Exit multiple instances cleanly.

 panel-plugin/wmdock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/wmdock.c b/panel-plugin/wmdock.c
index 0f6cf64..abdb2ab 100644
--- a/panel-plugin/wmdock.c
+++ b/panel-plugin/wmdock.c
@@ -179,7 +179,7 @@ static void wmdock_construct (XfcePanelPlugin *plugin)
                g_signal_connect (gtkDlg, "response", G_CALLBACK 
(wmdock_error_dialog_response), NULL);
                gtk_dialog_run (GTK_DIALOG(gtkDlg));
 
-               exit(EXIT_SUCCESS);
+               xfce_panel_plugin_remove(plugin);
        }
 
        g_signal_connect(s, "window_opened", G_CALLBACK(wmdock_window_open), 
NULL);
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to