[Xfce4-commits] <xfce4-wmdock-plugin:0.6.x> Exit multiple instances cleanly.

Andre Ellguth noreply at xfce.org
Sun Aug 26 20:18:01 CEST 2012


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

commit 15016d8b2b5ec0910f6771d7badfdfa06b1150cf
Author: Andre Ellguth <andre at 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);


More information about the Xfce4-commits mailing list