diff options
Diffstat (limited to 'glib/examples')
-rw-r--r-- | glib/examples/example-service.c | 2 | ||||
-rw-r--r-- | glib/examples/example-signal-emitter.c | 2 | ||||
-rw-r--r-- | glib/examples/statemachine/statemachine-server.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/glib/examples/example-service.c b/glib/examples/example-service.c index 5e58175f..a66855c1 100644 --- a/glib/examples/example-service.c +++ b/glib/examples/example-service.c @@ -135,7 +135,7 @@ main (int argc, char **argv) if (!dbus_g_proxy_call (bus_proxy, "RequestName", &error, G_TYPE_STRING, "org.designfu.SampleService", - G_TYPE_UINT, DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT, + G_TYPE_UINT, 0, G_TYPE_INVALID, G_TYPE_UINT, &request_name_result, G_TYPE_INVALID)) diff --git a/glib/examples/example-signal-emitter.c b/glib/examples/example-signal-emitter.c index d1cc444c..c60865d2 100644 --- a/glib/examples/example-signal-emitter.c +++ b/glib/examples/example-signal-emitter.c @@ -114,7 +114,7 @@ main (int argc, char **argv) if (!dbus_g_proxy_call (bus_proxy, "RequestName", &error, G_TYPE_STRING, "org.designfu.TestService", - G_TYPE_UINT, DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT, + G_TYPE_UINT, 0, G_TYPE_INVALID, G_TYPE_UINT, &request_name_result, G_TYPE_INVALID)) diff --git a/glib/examples/statemachine/statemachine-server.c b/glib/examples/statemachine/statemachine-server.c index 2cbf39fe..cc9ca4bd 100644 --- a/glib/examples/statemachine/statemachine-server.c +++ b/glib/examples/statemachine/statemachine-server.c @@ -211,7 +211,7 @@ main (int argc, char **argv) if (!dbus_g_proxy_call (bus_proxy, "RequestName", &error, G_TYPE_STRING, "com.example.StateServer", - G_TYPE_UINT, DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT, + G_TYPE_UINT, 0, G_TYPE_INVALID, G_TYPE_UINT, &request_name_result, G_TYPE_INVALID)) |