diff --git a/settings/xfpm-settings.c b/settings/xfpm-settings.c
index 30d565840df9194298fcd3ee4ab91cfa5839fd2f..6f26d24255357eaf8f5bdec85cc74130b0521cb9 100644
--- a/settings/xfpm-settings.c
+++ b/settings/xfpm-settings.c
@@ -2146,7 +2146,6 @@ settings_quit (GtkWidget *widget, XfconfChannel *channel)
     g_object_unref (channel);
     xfconf_shutdown();
     gtk_widget_destroy (widget);
-    gtk_main_quit();
 }
 
 static void dialog_response_cb (GtkDialog *dialog, gint response, XfconfChannel *channel)