Less prints
authorEnrico Zini <enrico@enricozini.org>
Sun, 13 Sep 2009 13:30:10 +0000 (14:30 +0100)
committerEnrico Zini <enrico@enricozini.org>
Sun, 13 Sep 2009 13:30:10 +0000 (14:30 +0100)
src/registry.vala

index 1818b3094aeb93b26f382365601406c51c698da4..0f288cb2de418fd6a68ddb220a4885d65e28eb15 100644 (file)
@@ -150,15 +150,12 @@ public class Registry : Object, Resource
         bus_name = DBus.bus_get_unique_name(sbus.get_connection());
         zavai.log.info("My bus name: " + bus_name);
 
-stderr.printf("ZA1\n");
         dynamic DBus.Object tmp_dbus = sbus.get_object(
             "org.freedesktop.DBus",
             "/org/freedesktop/DBus",
             "org.freedesktop.DBus");
-stderr.printf("ZA2\n");
         bus_name = "org.enricozini.zavai";
         uint res = tmp_dbus.RequestName(bus_name, (uint)DBus.NameFlag.DO_NOT_QUEUE);
-        stderr.printf("RN: %u\n", res);
         switch (res)
         {
             case DBus.RequestNameReply.PRIMARY_OWNER:
@@ -174,7 +171,6 @@ stderr.printf("ZA2\n");
                 zavai.log.info("I already own the name " + bus_name + " but I do not remember asking for it");
                 break;
         }
-stderr.printf("ZA3\n");
        }
 
        public void shutdown()