[rygel] core: Don't mind D-Bus service initialization failure



commit 12035574eaa12ed5acbae8fe75427ba4d706159d
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Sep 30 00:58:05 2009 +0300

    core: Don't mind D-Bus service initialization failure

 src/rygel/rygel-main.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/rygel/rygel-main.vala b/src/rygel/rygel-main.vala
index fcc9834..750a3d7 100644
--- a/src/rygel/rygel-main.vala
+++ b/src/rygel/rygel-main.vala
@@ -204,6 +204,8 @@ public class Rygel.Main : Object {
 
             main = new Main ();
             service = new DBusService (main);
+        } catch (DBus.Error err) {
+            warning ("Failed to start D-Bus service: %s", err.message);
         } catch (CmdlineConfigError.VERSION_ONLY err) {
             return 0;
         } catch (GLib.Error err) {



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