[rygel] ui: Remove work-around on watch_name



commit 643e671087753a8301e3c5d0acda3119b3dd8111
Author: Jens Georg <mail jensge org>
Date:   Sat Apr 28 18:26:08 2012 +0200

    ui: Remove work-around on watch_name

 src/ui/rygel-writable-user-config.vala |    9 +--------
 1 files changed, 1 insertions(+), 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,



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