Use "org.freedesktop.IBus" instead of "org.freedesktop.DBus" for the well-known bus...
authorYusuke Sato <yusukes@chromium.org>
Tue, 16 Nov 2010 02:17:33 +0000 (11:17 +0900)
committerYusuke Sato <yusukes@chromium.org>
Tue, 16 Nov 2010 02:17:33 +0000 (11:17 +0900)
Though "org.freedesktop.DBus" works fine, since bus_dbus_impl_connection_filter_cb in bus/dbusimpl.c treats the two bus names equally, "org.freedesktop.IBus" which matches the interface name looks more natural.

BUG=none
TEST=manually done

Review URL: http://codereview.appspot.com/3128041

src/ibusinputcontext.c

index f2977fc296e22b97925d64fafb8615ce9cc9e0fa..fc26a7c16caee27fd46c54793c8e5739983b74d5 100644 (file)
@@ -671,7 +671,7 @@ ibus_input_context_new (const gchar     *path,
                                cancellable,
                                error,
                                "g-connection",      connection,
-                               "g-name",            "org.freedesktop.DBus",
+                               "g-name",            "org.freedesktop.IBus",
                                "g-flags",           G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START,
                                "g-interface-name",  IBUS_INTERFACE_INPUT_CONTEXT,
                                "g-object-path",     path,