core: Catch more generic error
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Wed, 10 Jun 2009 14:41:43 +0000 (17:41 +0300)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Fri, 12 Jun 2009 11:31:42 +0000 (14:31 +0300)
src/rygel/rygel-user-config.vala

index 7f2a736..5a32600 100644 (file)
@@ -325,7 +325,7 @@ public class Rygel.UserConfig : GLib.Object, Configuration {
 
                 this.set_bool ("general", ENABLED_KEY, false);
             }
-        } catch (DBus.Error err) {
+        } catch (GLib.Error err) {
             warning ("Failed to %s Rygel service: %s\n",
                      enable? "start": "stop",
                      err.message);