1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- plugins/dbus/dbus-plugin.c.orig 2006-01-02 07:03:53.323758200 +0000
+++ plugins/dbus/dbus-plugin.c 2006-01-02 07:03:29.542130167 +0000
@@ -152,7 +152,12 @@
if (!dbus_g_proxy_call (bus_proxy, "RequestName", &error,
G_TYPE_STRING, DBUS_SERVICE,
- G_TYPE_UINT, DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT,
+ G_TYPE_UINT,
+#if (DBUS_VERSION_MAJOR == 0) && (DBUS_VERSION_MINOR >= 60)
+ DBUS_NAME_FLAG_DO_NOT_QUEUE,
+#else
+ DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT,
+#endif
G_TYPE_INVALID,
G_TYPE_UINT, &request_name_result,
G_TYPE_INVALID))
|