Code

lessen the overkill nature of whiteboard's Quit
[inkscape.git] / src / jabber_whiteboard / pedrogui.cpp
index cd5bf681438c9b671ceea58d9c0c8ecd18aeddbc..f66e0981ca65a45102841eeaa56e482f3241abe9 100644 (file)
@@ -2554,7 +2554,10 @@ void PedroGui::disconnectCallback()
 
 void PedroGui::quitCallback()
 {
-    Gtk::Main::quit();
+    client.disconnect();
+    hide();
+    //Severe overkill!  :-)
+    //Gtk::Main::quit();
 }