[vino/gnome-2-32] Exit when server is disabled, fixing bug 599104



commit 8ec0f1d36e01ecafef3079abda6539c3ae11f649
Author: Rodrigo Moya <rodrigo gnome org>
Date:   Mon Apr 11 19:05:08 2011 +0200

    Exit when server is disabled, fixing bug 599104

 server/vino-prefs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/server/vino-prefs.c b/server/vino-prefs.c
index fb9645b..b56c1b6 100644
--- a/server/vino-prefs.c
+++ b/server/vino-prefs.c
@@ -97,7 +97,7 @@ vino_prefs_enabled_changed (GConfClient *client,
   if (vino_enabled)
     vino_mdns_start (vino_network_interface);
   else
-    vino_mdns_stop ();
+    exit (0);
 
   for (l = vino_servers; l; l = l->next)
     vino_server_set_on_hold (l->data, !enabled);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]