diff options
author | David Zeuthen <davidz@redhat.com> | 2010-05-10 11:47:08 -0400 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2010-05-10 11:47:08 -0400 |
commit | 869b4c68332f36377bbdfd186e37f6194ae5ed5a (patch) | |
tree | d6d614b211ec804a7191858ceafad47322829140 /gio/gdbusauthmechanismexternal.c | |
parent | 728c4e38e72055080c148f9cebca85a08d16a445 (diff) | |
download | glib-869b4c68332f36377bbdfd186e37f6194ae5ed5a.tar.gz |
GDBus: Use call() instead of invoke_method()
Lots of people been suggesting this. We still use MethodInvocation /
method_invocation for handling incoming method calls so use call()
instead of invoke_method() helps to separate the client and server
facilities. Which is a good thing(tm).
Diffstat (limited to 'gio/gdbusauthmechanismexternal.c')
-rw-r--r-- | gio/gdbusauthmechanismexternal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/gdbusauthmechanismexternal.c b/gio/gdbusauthmechanismexternal.c index cebbc2426..0ec56b934 100644 --- a/gio/gdbusauthmechanismexternal.c +++ b/gio/gdbusauthmechanismexternal.c @@ -351,7 +351,7 @@ mechanism_client_initiate (GDBusAuthMechanism *mechanism, /* return the uid */ #if defined(G_OS_UNIX) - initial_response = g_strdup_printf ("%" G_GINT64_FORMAT, g_credentials_get_unix_user (credentials, NULL)); + initial_response = g_strdup_printf ("%" G_GINT64_FORMAT, (gint64) g_credentials_get_unix_user (credentials, NULL)); #elif defined(G_OS_WIN32) initial_response = g_strdup_printf ("%s", g_credentials_get_windows_user ()); #else |