From 643e671087753a8301e3c5d0acda3119b3dd8111 Mon Sep 17 00:00:00 2001 From: Jens Georg Date: Sat, 28 Apr 2012 18:26:08 +0200 Subject: [PATCH] ui: Remove work-around on watch_name --- src/ui/rygel-writable-user-config.vala | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/ui/rygel-writable-user-config.vala b/src/ui/rygel-writable-user-config.vala index f0217f2..39eeb36 100644 --- a/src/ui/rygel-writable-user-config.vala +++ b/src/ui/rygel-writable-user-config.vala @@ -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, -- 2.7.4