summaryrefslogtreecommitdiff
path: root/src/daemon/dbus/gsignond-dbus-auth-service-gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/dbus/gsignond-dbus-auth-service-gen.c')
-rw-r--r--src/daemon/dbus/gsignond-dbus-auth-service-gen.c112
1 files changed, 59 insertions, 53 deletions
diff --git a/src/daemon/dbus/gsignond-dbus-auth-service-gen.c b/src/daemon/dbus/gsignond-dbus-auth-service-gen.c
index 79b1adc..1ca2490 100644
--- a/src/daemon/dbus/gsignond-dbus-auth-service-gen.c
+++ b/src/daemon/dbus/gsignond-dbus-auth-service-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-auth-service-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_auth_service_method_info_regis
{
{
-1,
- "applicationContext",
- "s",
+ (gchar *) "applicationContext",
+ (gchar *) "s",
NULL
},
FALSE
@@ -178,8 +184,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_auth_service_method_info_regis
{
{
-1,
- "objectPath",
- "o",
+ (gchar *) "objectPath",
+ (gchar *) "o",
NULL
},
FALSE
@@ -195,7 +201,7 @@ static const _ExtendedGDBusMethodInfo _gsignond_dbus_auth_service_method_info_re
{
{
-1,
- "registerNewIdentity",
+ (gchar *) "registerNewIdentity",
(GDBusArgInfo **) &_gsignond_dbus_auth_service_method_info_register_new_identity_IN_ARG_pointers,
(GDBusArgInfo **) &_gsignond_dbus_auth_service_method_info_register_new_identity_OUT_ARG_pointers,
NULL
@@ -208,8 +214,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_auth_service_method_info_get_i
{
{
-1,
- "id",
- "u",
+ (gchar *) "id",
+ (gchar *) "u",
NULL
},
FALSE
@@ -219,8 +225,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_auth_service_method_info_get_i
{
{
-1,
- "applicationContext",
- "s",
+ (gchar *) "applicationContext",
+ (gchar *) "s",
NULL
},
FALSE
@@ -237,8 +243,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_auth_service_method_info_get_i
{
{
-1,
- "objectPath",
- "o",
+ (gchar *) "objectPath",
+ (gchar *) "o",
NULL
},
FALSE
@@ -248,8 +254,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_auth_service_method_info_get_i
{
{
-1,
- "identityData",
- "a{sv}",
+ (gchar *) "identityData",
+ (gchar *) "a{sv}",
NULL
},
FALSE
@@ -266,7 +272,7 @@ static const _ExtendedGDBusMethodInfo _gsignond_dbus_auth_service_method_info_ge
{
{
-1,
- "getIdentity",
+ (gchar *) "getIdentity",
(GDBusArgInfo **) &_gsignond_dbus_auth_service_method_info_get_identity_IN_ARG_pointers,
(GDBusArgInfo **) &_gsignond_dbus_auth_service_method_info_get_identity_OUT_ARG_pointers,
NULL
@@ -279,8 +285,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_auth_service_method_info_query
{
{
-1,
- "authMethods",
- "as",
+ (gchar *) "authMethods",
+ (gchar *) "as",
NULL
},
FALSE
@@ -296,7 +302,7 @@ static const _ExtendedGDBusMethodInfo _gsignond_dbus_auth_service_method_info_qu
{
{
-1,
- "queryMethods",
+ (gchar *) "queryMethods",
NULL,
(GDBusArgInfo **) &_gsignond_dbus_auth_service_method_info_query_methods_OUT_ARG_pointers,
NULL
@@ -309,8 +315,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_auth_service_method_info_query
{
{
-1,
- "method",
- "s",
+ (gchar *) "method",
+ (gchar *) "s",
NULL
},
FALSE
@@ -326,8 +332,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_auth_service_method_info_query
{
{
-1,
- "mechanisms",
- "as",
+ (gchar *) "mechanisms",
+ (gchar *) "as",
NULL
},
FALSE
@@ -343,7 +349,7 @@ static const _ExtendedGDBusMethodInfo _gsignond_dbus_auth_service_method_info_qu
{
{
-1,
- "queryMechanisms",
+ (gchar *) "queryMechanisms",
(GDBusArgInfo **) &_gsignond_dbus_auth_service_method_info_query_mechanisms_IN_ARG_pointers,
(GDBusArgInfo **) &_gsignond_dbus_auth_service_method_info_query_mechanisms_OUT_ARG_pointers,
NULL
@@ -356,8 +362,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_auth_service_method_info_query
{
{
-1,
- "filter",
- "a{sv}",
+ (gchar *) "filter",
+ (gchar *) "a{sv}",
NULL
},
FALSE
@@ -367,8 +373,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_auth_service_method_info_query
{
{
-1,
- "applicationContext",
- "s",
+ (gchar *) "applicationContext",
+ (gchar *) "s",
NULL
},
FALSE
@@ -385,8 +391,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_auth_service_method_info_query
{
{
-1,
- "identities",
- "aa{sv}",
+ (gchar *) "identities",
+ (gchar *) "aa{sv}",
NULL
},
FALSE
@@ -402,7 +408,7 @@ static const _ExtendedGDBusMethodInfo _gsignond_dbus_auth_service_method_info_qu
{
{
-1,
- "queryIdentities",
+ (gchar *) "queryIdentities",
(GDBusArgInfo **) &_gsignond_dbus_auth_service_method_info_query_identities_IN_ARG_pointers,
(GDBusArgInfo **) &_gsignond_dbus_auth_service_method_info_query_identities_OUT_ARG_pointers,
NULL
@@ -415,8 +421,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_auth_service_method_info_clear
{
{
-1,
- "unnamed_arg0",
- "b",
+ (gchar *) "unnamed_arg0",
+ (gchar *) "b",
NULL
},
FALSE
@@ -432,7 +438,7 @@ static const _ExtendedGDBusMethodInfo _gsignond_dbus_auth_service_method_info_cl
{
{
-1,
- "clear",
+ (gchar *) "clear",
NULL,
(GDBusArgInfo **) &_gsignond_dbus_auth_service_method_info_clear_OUT_ARG_pointers,
NULL
@@ -445,8 +451,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_auth_service_method_info_backu
{
{
-1,
- "unnamed_arg0",
- "y",
+ (gchar *) "unnamed_arg0",
+ (gchar *) "y",
NULL
},
FALSE
@@ -462,7 +468,7 @@ static const _ExtendedGDBusMethodInfo _gsignond_dbus_auth_service_method_info_ba
{
{
-1,
- "backupStarts",
+ (gchar *) "backupStarts",
NULL,
(GDBusArgInfo **) &_gsignond_dbus_auth_service_method_info_backup_starts_OUT_ARG_pointers,
NULL
@@ -475,8 +481,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_auth_service_method_info_backu
{
{
-1,
- "unnamed_arg0",
- "y",
+ (gchar *) "unnamed_arg0",
+ (gchar *) "y",
NULL
},
FALSE
@@ -492,7 +498,7 @@ static const _ExtendedGDBusMethodInfo _gsignond_dbus_auth_service_method_info_ba
{
{
-1,
- "backupFinished",
+ (gchar *) "backupFinished",
NULL,
(GDBusArgInfo **) &_gsignond_dbus_auth_service_method_info_backup_finished_OUT_ARG_pointers,
NULL
@@ -505,8 +511,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_auth_service_method_info_resto
{
{
-1,
- "unnamed_arg0",
- "y",
+ (gchar *) "unnamed_arg0",
+ (gchar *) "y",
NULL
},
FALSE
@@ -522,7 +528,7 @@ static const _ExtendedGDBusMethodInfo _gsignond_dbus_auth_service_method_info_re
{
{
-1,
- "restoreStarts",
+ (gchar *) "restoreStarts",
NULL,
(GDBusArgInfo **) &_gsignond_dbus_auth_service_method_info_restore_starts_OUT_ARG_pointers,
NULL
@@ -535,8 +541,8 @@ static const _ExtendedGDBusArgInfo _gsignond_dbus_auth_service_method_info_resto
{
{
-1,
- "unnamed_arg0",
- "y",
+ (gchar *) "unnamed_arg0",
+ (gchar *) "y",
NULL
},
FALSE
@@ -552,7 +558,7 @@ static const _ExtendedGDBusMethodInfo _gsignond_dbus_auth_service_method_info_re
{
{
-1,
- "restoreFinished",
+ (gchar *) "restoreFinished",
NULL,
(GDBusArgInfo **) &_gsignond_dbus_auth_service_method_info_restore_finished_OUT_ARG_pointers,
NULL
@@ -580,7 +586,7 @@ static const _ExtendedGDBusInterfaceInfo _gsignond_dbus_auth_service_interface_i
{
{
-1,
- "com.google.code.AccountsSSO.gSingleSignOn.AuthService",
+ (gchar *) "com.google.code.AccountsSSO.gSingleSignOn.AuthService",
(GDBusMethodInfo **) &_gsignond_dbus_auth_service_method_info_pointers,
NULL,
NULL,
@@ -600,7 +606,7 @@ static const _ExtendedGDBusInterfaceInfo _gsignond_dbus_auth_service_interface_i
GDBusInterfaceInfo *
gsignond_dbus_auth_service_interface_info (void)
{
- return (GDBusInterfaceInfo *) &_gsignond_dbus_auth_service_interface_info;
+ return (GDBusInterfaceInfo *) &_gsignond_dbus_auth_service_interface_info.parent_struct;
}
/**
@@ -2176,7 +2182,7 @@ gsignond_dbus_auth_service_proxy_g_signal (GDBusProxy *proxy,
guint num_params;
guint n;
guint signal_id;
- info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_gsignond_dbus_auth_service_interface_info, signal_name);
+ info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_gsignond_dbus_auth_service_interface_info.parent_struct, signal_name);
if (info == NULL)
return;
num_params = g_variant_n_children (parameters);
@@ -2218,7 +2224,7 @@ gsignond_dbus_auth_service_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_auth_service_interface_info, key);
+ info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gsignond_dbus_auth_service_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);
@@ -2226,7 +2232,7 @@ gsignond_dbus_auth_service_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_auth_service_interface_info, invalidated_properties[n]);
+ info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gsignond_dbus_auth_service_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);
@@ -2548,7 +2554,7 @@ _gsignond_dbus_auth_service_skeleton_handle_get_property (
_ExtendedGDBusPropertyInfo *info;
GVariant *ret;
ret = NULL;
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gsignond_dbus_auth_service_interface_info, property_name);
+ info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gsignond_dbus_auth_service_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)
@@ -2582,7 +2588,7 @@ _gsignond_dbus_auth_service_skeleton_handle_set_property (
_ExtendedGDBusPropertyInfo *info;
gboolean ret;
ret = FALSE;
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gsignond_dbus_auth_service_interface_info, property_name);
+ info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gsignond_dbus_auth_service_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)