diff options
author | Nick Schermer <nick@xfce.org> | 2010-02-26 14:08:28 +0100 |
---|---|---|
committer | Nick Schermer <nick@xfce.org> | 2010-02-26 14:11:50 +0100 |
commit | a74e3055976cfe4f4807b2ab8cd10952548b7aff (patch) | |
tree | 0716350b4e1bf8b5e5021ee85dda9034475425d3 /wrapper | |
parent | 97d4b70af557e8db71037bb71ef81a9a4dc98cd0 (diff) | |
download | xfce4-panel-a74e3055976cfe4f4807b2ab8cd10952548b7aff.tar.gz |
Fix auto restart code for external plugins.
Diffstat (limited to 'wrapper')
-rw-r--r-- | wrapper/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wrapper/main.c b/wrapper/main.c index 533ff036..bce41f2b 100644 --- a/wrapper/main.c +++ b/wrapper/main.c @@ -302,9 +302,6 @@ main (gint argc, gchar **argv) /* show the plugin */ gtk_widget_show (GTK_WIDGET (provider)); - /* everything when fine */ - retval = PLUGIN_EXIT_SUCCESS; - /* enter the main loop */ gtk_main (); @@ -316,6 +313,9 @@ main (gint argc, gchar **argv) /* destroy the plug and provider */ if (plug != NULL) gtk_widget_destroy (GTK_WIDGET (plug)); + + /* everything when fine */ + retval = PLUGIN_EXIT_SUCCESS; } else { |