ui: Remove work-around on watch_name
authorJens Georg <mail@jensge.org>
Sat, 28 Apr 2012 16:26:08 +0000 (18:26 +0200)
committerJens Georg <mail@jensge.org>
Sat, 28 Apr 2012 16:56:45 +0000 (18:56 +0200)
src/ui/rygel-writable-user-config.vala

index f0217f2..39eeb36 100644 (file)
@@ -170,17 +170,10 @@ public class Rygel.WritableUserConfig : Rygel.UserConfig {
             var dest = File.new_for_path (dest_path);
 
             if (enable) {
-                // TODO: Use null in watch_name once vala situation in jhbuild
-                // is cleared and vala dependency is bumped.
-                BusNameAppearedCallback a = null;
-                BusNameVanishedCallback b = null;
-
                 // Creating the proxy starts the service
                 Bus.watch_name (BusType.SESSION,
                                 DBusInterface.SERVICE_NAME,
-                                BusNameWatcherFlags.AUTO_START,
-                                (owned) a,
-                                (owned) b);
+                                BusNameWatcherFlags.AUTO_START);
 
                 // Then symlink the desktop file to user's autostart dir
                 var source_path = Path.build_filename (BuildConfig.DESKTOP_DIR,