summaryrefslogtreecommitdiff
path: root/src/daemon/dbus/gsignond-dbus-identity-gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/dbus/gsignond-dbus-identity-gen.c')
-rw-r--r--src/daemon/dbus/gsignond-dbus-identity-gen.c116
1 files changed, 61 insertions, 55 deletions
diff --git a/src/daemon/dbus/gsignond-dbus-identity-gen.c b/src/daemon/dbus/gsignond-dbus-identity-gen.c
index 2f8b74b..b8399cc 100644
--- a/src/daemon/dbus/gsignond-dbus-identity-gen.c
+++ b/src/daemon/dbus/gsignond-dbus-identity-gen.c
@@ -1,5 +1,5 @@
/*
- * Generated by gdbus-codegen 2.32.3. DO NOT EDIT.
+ * Generated by gdbus-codegen 2.34.1. DO NOT EDIT.
*
* The license of this code is the same as for the source it was derived from.
*/
@@ -10,6 +10,7 @@
#include "gsignond-dbus-identity-gen.h"
+#include <string.h>
#ifdef G_OS_UNIX
# include <gio/gunixfdlist.h>
#endif
@@ -124,7 +125,12 @@ _g_value_equal (const GValue *a, const GValue *b)
ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
break;
case G_TYPE_DOUBLE:
- ret = (g_value_get_double (a) == g_value_get_double (b));
+ {
+ /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
+ gdouble da = g_value_get_double (a);
+ gdouble db = g_value_get_double (b);
+ ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
+ }
break;
case G_TYPE_STRING:
ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
@@ -161,8 +167,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_identity_method_info_request_c
{
{
-1,
- "message",
- "s",
+ (gchar *) "message",
+ (gchar *) "s",
NULL
},
FALSE
@@ -178,8 +184,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_identity_method_info_request_c
{
{
-1,
- "unnamed_arg1",
- "u",
+ (gchar *) "unnamed_arg1",
+ (gchar *) "u",
NULL
},
FALSE
@@ -195,7 +201,7 @@ static const _ExtendedGDBusMethodInfo _gsignond_dbus_identity_method_info_reques
{
{
-1,
- "requestCredentialsUpdate",
+ (gchar *) "requestCredentialsUpdate",
(GDBusArgInfo **) &_gsignond_dbus_identity_method_info_request_credentials_update_IN_ARG_pointers,
(GDBusArgInfo **) &_gsignond_dbus_identity_method_info_request_credentials_update_OUT_ARG_pointers,
NULL
@@ -208,8 +214,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_identity_method_info_get_info_
{
{
-1,
- "identityInfo",
- "a{sv}",
+ (gchar *) "identityInfo",
+ (gchar *) "a{sv}",
NULL
},
FALSE
@@ -225,7 +231,7 @@ static const _ExtendedGDBusMethodInfo _gsignond_dbus_identity_method_info_get_in
{
{
-1,
- "getInfo",
+ (gchar *) "getInfo",
NULL,
(GDBusArgInfo **) &_gsignond_dbus_identity_method_info_get_info_OUT_ARG_pointers,
NULL
@@ -238,8 +244,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_identity_method_info_get_auth_
{
{
-1,
- "method",
- "s",
+ (gchar *) "method",
+ (gchar *) "s",
NULL
},
FALSE
@@ -255,8 +261,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_identity_method_info_get_auth_
{
{
-1,
- "objectPath",
- "o",
+ (gchar *) "objectPath",
+ (gchar *) "o",
NULL
},
FALSE
@@ -272,7 +278,7 @@ static const _ExtendedGDBusMethodInfo _gsignond_dbus_identity_method_info_get_au
{
{
-1,
- "getAuthSession",
+ (gchar *) "getAuthSession",
(GDBusArgInfo **) &_gsignond_dbus_identity_method_info_get_auth_session_IN_ARG_pointers,
(GDBusArgInfo **) &_gsignond_dbus_identity_method_info_get_auth_session_OUT_ARG_pointers,
NULL
@@ -285,8 +291,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_identity_method_info_verify_us
{
{
-1,
- "params",
- "a{sv}",
+ (gchar *) "params",
+ (gchar *) "a{sv}",
NULL
},
FALSE
@@ -302,8 +308,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_identity_method_info_verify_us
{
{
-1,
- "unnamed_arg1",
- "b",
+ (gchar *) "unnamed_arg1",
+ (gchar *) "b",
NULL
},
FALSE
@@ -319,7 +325,7 @@ static const _ExtendedGDBusMethodInfo _gsignond_dbus_identity_method_info_verify
{
{
-1,
- "verifyUser",
+ (gchar *) "verifyUser",
(GDBusArgInfo **) &_gsignond_dbus_identity_method_info_verify_user_IN_ARG_pointers,
(GDBusArgInfo **) &_gsignond_dbus_identity_method_info_verify_user_OUT_ARG_pointers,
NULL
@@ -332,8 +338,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_identity_method_info_verify_se
{
{
-1,
- "secret",
- "s",
+ (gchar *) "secret",
+ (gchar *) "s",
NULL
},
FALSE
@@ -349,8 +355,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_identity_method_info_verify_se
{
{
-1,
- "unnamed_arg1",
- "b",
+ (gchar *) "unnamed_arg1",
+ (gchar *) "b",
NULL
},
FALSE
@@ -366,7 +372,7 @@ static const _ExtendedGDBusMethodInfo _gsignond_dbus_identity_method_info_verify
{
{
-1,
- "verifySecret",
+ (gchar *) "verifySecret",
(GDBusArgInfo **) &_gsignond_dbus_identity_method_info_verify_secret_IN_ARG_pointers,
(GDBusArgInfo **) &_gsignond_dbus_identity_method_info_verify_secret_OUT_ARG_pointers,
NULL
@@ -379,7 +385,7 @@ static const _ExtendedGDBusMethodInfo _gsignond_dbus_identity_method_info_remove
{
{
-1,
- "remove",
+ (gchar *) "remove",
NULL,
NULL,
NULL
@@ -392,8 +398,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_identity_method_info_sign_out_
{
{
-1,
- "unnamed_arg0",
- "b",
+ (gchar *) "unnamed_arg0",
+ (gchar *) "b",
NULL
},
FALSE
@@ -409,7 +415,7 @@ static const _ExtendedGDBusMethodInfo _gsignond_dbus_identity_method_info_sign_o
{
{
-1,
- "signOut",
+ (gchar *) "signOut",
NULL,
(GDBusArgInfo **) &_gsignond_dbus_identity_method_info_sign_out_OUT_ARG_pointers,
NULL
@@ -422,8 +428,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_identity_method_info_store_IN_
{
{
-1,
- "unnamed_arg0",
- "a{sv}",
+ (gchar *) "unnamed_arg0",
+ (gchar *) "a{sv}",
NULL
},
FALSE
@@ -439,8 +445,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_identity_method_info_store_OUT
{
{
-1,
- "unnamed_arg1",
- "u",
+ (gchar *) "unnamed_arg1",
+ (gchar *) "u",
NULL
},
FALSE
@@ -456,7 +462,7 @@ static const _ExtendedGDBusMethodInfo _gsignond_dbus_identity_method_info_store
{
{
-1,
- "store",
+ (gchar *) "store",
(GDBusArgInfo **) &_gsignond_dbus_identity_method_info_store_IN_ARG_pointers,
(GDBusArgInfo **) &_gsignond_dbus_identity_method_info_store_OUT_ARG_pointers,
NULL
@@ -469,8 +475,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_identity_method_info_add_refer
{
{
-1,
- "reference",
- "s",
+ (gchar *) "reference",
+ (gchar *) "s",
NULL
},
FALSE
@@ -486,8 +492,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_identity_method_info_add_refer
{
{
-1,
- "unnamed_arg1",
- "i",
+ (gchar *) "unnamed_arg1",
+ (gchar *) "i",
NULL
},
FALSE
@@ -503,7 +509,7 @@ static const _ExtendedGDBusMethodInfo _gsignond_dbus_identity_method_info_add_re
{
{
-1,
- "addReference",
+ (gchar *) "addReference",
(GDBusArgInfo **) &_gsignond_dbus_identity_method_info_add_reference_IN_ARG_pointers,
(GDBusArgInfo **) &_gsignond_dbus_identity_method_info_add_reference_OUT_ARG_pointers,
NULL
@@ -516,8 +522,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_identity_method_info_remove_re
{
{
-1,
- "reference",
- "s",
+ (gchar *) "reference",
+ (gchar *) "s",
NULL
},
FALSE
@@ -533,8 +539,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_identity_method_info_remove_re
{
{
-1,
- "unnamed_arg1",
- "i",
+ (gchar *) "unnamed_arg1",
+ (gchar *) "i",
NULL
},
FALSE
@@ -550,7 +556,7 @@ static const _ExtendedGDBusMethodInfo _gsignond_dbus_identity_method_info_remove
{
{
-1,
- "removeReference",
+ (gchar *) "removeReference",
(GDBusArgInfo **) &_gsignond_dbus_identity_method_info_remove_reference_IN_ARG_pointers,
(GDBusArgInfo **) &_gsignond_dbus_identity_method_info_remove_reference_OUT_ARG_pointers,
NULL
@@ -578,7 +584,7 @@ static const _ExtendedGDBusSignalInfo _gsignond_dbus_identity_signal_info_unregi
{
{
-1,
- "unregistered",
+ (gchar *) "unregistered",
NULL,
NULL
},
@@ -589,8 +595,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_identity_signal_info_info_upda
{
{
-1,
- "unnamed_arg0",
- "i",
+ (gchar *) "unnamed_arg0",
+ (gchar *) "i",
NULL
},
FALSE
@@ -606,7 +612,7 @@ static const _ExtendedGDBusSignalInfo _gsignond_dbus_identity_signal_info_info_u
{
{
-1,
- "infoUpdated",
+ (gchar *) "infoUpdated",
(GDBusArgInfo **) &_gsignond_dbus_identity_signal_info_info_updated_ARG_pointers,
NULL
},
@@ -624,7 +630,7 @@ static const _ExtendedGDBusInterfaceInfo _gsignond_dbus_identity_interface_info
{
{
-1,
- "com.google.code.AccountsSSO.gSingleSignOn.Identity",
+ (gchar *) "com.google.code.AccountsSSO.gSingleSignOn.Identity",
(GDBusMethodInfo **) &_gsignond_dbus_identity_method_info_pointers,
(GDBusSignalInfo **) &_gsignond_dbus_identity_signal_info_pointers,
NULL,
@@ -644,7 +650,7 @@ static const _ExtendedGDBusInterfaceInfo _gsignond_dbus_identity_interface_info
GDBusInterfaceInfo *
gsignond_dbus_identity_interface_info (void)
{
- return (GDBusInterfaceInfo *) &_gsignond_dbus_identity_interface_info;
+ return (GDBusInterfaceInfo *) &_gsignond_dbus_identity_interface_info.parent_struct;
}
/**
@@ -2277,7 +2283,7 @@ gsignond_dbus_identity_proxy_g_signal (GDBusProxy *proxy,
guint num_params;
guint n;
guint signal_id;
- info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_gsignond_dbus_identity_interface_info, signal_name);
+ info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_gsignond_dbus_identity_interface_info.parent_struct, signal_name);
if (info == NULL)
return;
num_params = g_variant_n_children (parameters);
@@ -2319,7 +2325,7 @@ gsignond_dbus_identity_proxy_g_properties_changed (GDBusProxy *_proxy,
g_variant_get (changed_properties, "a{sv}", &iter);
while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
{
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gsignond_dbus_identity_interface_info, key);
+ info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gsignond_dbus_identity_interface_info.parent_struct, key);
g_datalist_remove_data (&proxy->priv->qdata, key);
if (info != NULL)
g_object_notify (G_OBJECT (proxy), info->hyphen_name);
@@ -2327,7 +2333,7 @@ gsignond_dbus_identity_proxy_g_properties_changed (GDBusProxy *_proxy,
g_variant_iter_free (iter);
for (n = 0; invalidated_properties[n] != NULL; n++)
{
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gsignond_dbus_identity_interface_info, invalidated_properties[n]);
+ info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gsignond_dbus_identity_interface_info.parent_struct, invalidated_properties[n]);
g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
if (info != NULL)
g_object_notify (G_OBJECT (proxy), info->hyphen_name);
@@ -2649,7 +2655,7 @@ _gsignond_dbus_identity_skeleton_handle_get_property (
_ExtendedGDBusPropertyInfo *info;
GVariant *ret;
ret = NULL;
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gsignond_dbus_identity_interface_info, property_name);
+ info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gsignond_dbus_identity_interface_info.parent_struct, property_name);
g_assert (info != NULL);
pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
if (pspec == NULL)
@@ -2683,7 +2689,7 @@ _gsignond_dbus_identity_skeleton_handle_set_property (
_ExtendedGDBusPropertyInfo *info;
gboolean ret;
ret = FALSE;
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gsignond_dbus_identity_interface_info, property_name);
+ info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gsignond_dbus_identity_interface_info.parent_struct, property_name);
g_assert (info != NULL);
pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
if (pspec == NULL)