ui: Fix work-around for 0.12 to work with 0.14
authorJens Georg <mail@jensge.org>
Thu, 21 Jul 2011 22:03:44 +0000 (00:03 +0200)
committerJens Georg <mail@jensge.org>
Thu, 21 Jul 2011 22:03:44 +0000 (00:03 +0200)
src/ui/rygel-writable-user-config.vala

index 85be54f..f6158d8 100644 (file)
@@ -164,8 +164,8 @@ public class Rygel.WritableUserConfig : Rygel.UserConfig {
                 Bus.watch_name (BusType.SESSION,
                                 DBusInterface.SERVICE_NAME,
                                 BusNameWatcherFlags.AUTO_START,
-                                a,
-                                b);
+                                (owned) a,
+                                (owned) b);
 
                 // Then symlink the desktop file to user's autostart dir
                 var source_path = Path.build_filename (BuildConfig.DESKTOP_DIR,