r7269 - dumbhippo/trunk/client/linux/src



Author: otaylor
Date: 2008-01-27 14:01:54 -0600 (Sun, 27 Jan 2008)
New Revision: 7269

Modified:
   dumbhippo/trunk/client/linux/src/hippo-dbus-stacker.c
Log:
Don't acquire the org.engine.od.Engine name, we're the stacker

Modified: dumbhippo/trunk/client/linux/src/hippo-dbus-stacker.c
===================================================================
--- dumbhippo/trunk/client/linux/src/hippo-dbus-stacker.c	2008-01-27 19:21:14 UTC (rev 7268)
+++ dumbhippo/trunk/client/linux/src/hippo-dbus-stacker.c	2008-01-27 20:01:54 UTC (rev 7269)
@@ -191,33 +191,7 @@
     g_free(stacker_bus_name);
     g_free(old_bus_name);
 
-    /* Now we acquire the names without the server host/port appended,
-     * we only optionally acquire these if nobody else has them.
-     * This allows apps to avoid adding the server to the name - 
-     * they can just use the "normal" name
-     */
     {
-    	DBusError tmp_derror;
-        dbus_uint32_t flags;
-        
-    	dbus_error_init(&tmp_derror);        
-        
-        /* We do want to be queued if we don't get this right away */
-        flags = DBUS_NAME_FLAG_ALLOW_REPLACEMENT;
-        if (replace_existing)
-            flags |= DBUS_NAME_FLAG_REPLACE_EXISTING;
-        
-        /* we just ignore errors on this */
-        dbus_bus_request_name(connection, HIPPO_DBUS_ENGINE_BASE_BUS_NAME,
-                              flags,
-                              &tmp_derror);
-        if (dbus_error_is_set(&tmp_derror))
-        	g_debug("Failed to get bus name %s: %s", HIPPO_DBUS_ENGINE_BASE_BUS_NAME, tmp_derror.message);
-       	else
-       		g_debug("Acquired bus name %s", HIPPO_DBUS_ENGINE_BASE_BUS_NAME);       	
-    }
-
-    {
     	DBusError tmp_derror;    
         dbus_uint32_t flags;
         



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