From 54bc2c77b9b2dffd9c4bc1a2b51c199252d5d575 Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Tue, 29 Jan 2019 01:37:33 -0800 Subject: binding: bluetooth-pbap: remove compiler warnings Remove compiler warnings on gdbus generated code by regenerating with gdbus-codegen 2.56.3 Change-Id: I1a5f136873a44a09cb0cc2b13aa273a38f5d45e4 Signed-off-by: Matt Ranostay --- .../gdbus/freedesktop_dbus_properties_interface.c | 49 +++++++++++----------- 1 file changed, 25 insertions(+), 24 deletions(-) (limited to 'binding/gdbus/freedesktop_dbus_properties_interface.c') diff --git a/binding/gdbus/freedesktop_dbus_properties_interface.c b/binding/gdbus/freedesktop_dbus_properties_interface.c index add3a51..f34495c 100644 --- a/binding/gdbus/freedesktop_dbus_properties_interface.c +++ b/binding/gdbus/freedesktop_dbus_properties_interface.c @@ -1,7 +1,8 @@ /* - * Generated by gdbus-codegen 2.50.3. DO NOT EDIT. + * Generated by gdbus-codegen 2.56.3. DO NOT EDIT. * - * The license of this code is the same as for the source it was derived from. + * The license of this code is the same as for the D-Bus interface description + * it was derived from. */ #ifdef HAVE_CONFIG_H @@ -418,7 +419,7 @@ org_freedesktop_dbus_properties_interface_info (void) /** * org_freedesktop_dbus_properties_override_properties: - * @klass: The class structure for a #GObject-derived class. + * @klass: The class structure for a #GObject derived class. * @property_id_begin: The property id to assign to the first overridden property. * * Overrides all #GObject properties in the #OrgFreedesktopDBusProperties interface for a concrete class. @@ -452,7 +453,7 @@ org_freedesktop_dbus_properties_override_properties (GObjectClass *klass, guint */ typedef OrgFreedesktopDBusPropertiesIface OrgFreedesktopDBusPropertiesInterface; -G_DEFINE_INTERFACE (OrgFreedesktopDBusProperties, org_freedesktop_dbus_properties, G_TYPE_OBJECT); +G_DEFINE_INTERFACE (OrgFreedesktopDBusProperties, org_freedesktop_dbus_properties, G_TYPE_OBJECT) static void org_freedesktop_dbus_properties_default_init (OrgFreedesktopDBusPropertiesIface *iface) @@ -578,7 +579,7 @@ org_freedesktop_dbus_properties_emit_properties_changed ( * @proxy: A #OrgFreedesktopDBusPropertiesProxy. * @arg_interface_name: Argument to pass with the method invocation. * @arg_property_name: Argument to pass with the method invocation. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. * @user_data: User data to pass to @callback. * @@ -645,7 +646,7 @@ _out: * @arg_interface_name: Argument to pass with the method invocation. * @arg_property_name: Argument to pass with the method invocation. * @out_value: (out): Return location for return parameter or %NULL to ignore. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL. * * Synchronously invokes the Get() D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -687,7 +688,7 @@ _out: * org_freedesktop_dbus_properties_call_get_all: * @proxy: A #OrgFreedesktopDBusPropertiesProxy. * @arg_interface_name: Argument to pass with the method invocation. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. * @user_data: User data to pass to @callback. * @@ -751,7 +752,7 @@ _out: * @proxy: A #OrgFreedesktopDBusPropertiesProxy. * @arg_interface_name: Argument to pass with the method invocation. * @out_properties: (out): Return location for return parameter or %NULL to ignore. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL. * * Synchronously invokes the GetAll() D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -793,7 +794,7 @@ _out: * @arg_interface_name: Argument to pass with the method invocation. * @arg_property_name: Argument to pass with the method invocation. * @arg_value: Argument to pass with the method invocation. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. * @user_data: User data to pass to @callback. * @@ -859,7 +860,7 @@ _out: * @arg_interface_name: Argument to pass with the method invocation. * @arg_property_name: Argument to pass with the method invocation. * @arg_value: Argument to pass with the method invocation. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL. * * Synchronously invokes the Set() D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -982,11 +983,11 @@ static void org_freedesktop_dbus_properties_proxy_iface_init (OrgFreedesktopDBus #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 G_DEFINE_TYPE_WITH_CODE (OrgFreedesktopDBusPropertiesProxy, org_freedesktop_dbus_properties_proxy, G_TYPE_DBUS_PROXY, G_ADD_PRIVATE (OrgFreedesktopDBusPropertiesProxy) - G_IMPLEMENT_INTERFACE (TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES, org_freedesktop_dbus_properties_proxy_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES, org_freedesktop_dbus_properties_proxy_iface_init)) #else G_DEFINE_TYPE_WITH_CODE (OrgFreedesktopDBusPropertiesProxy, org_freedesktop_dbus_properties_proxy, G_TYPE_DBUS_PROXY, - G_IMPLEMENT_INTERFACE (TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES, org_freedesktop_dbus_properties_proxy_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES, org_freedesktop_dbus_properties_proxy_iface_init)) #endif static void @@ -1023,8 +1024,8 @@ org_freedesktop_dbus_properties_proxy_g_signal (GDBusProxy *proxy, GVariantIter iter; GVariant *child; GValue *paramv; - guint num_params; - guint n; + gsize num_params; + gsize n; guint signal_id; info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_freedesktop_dbus_properties_interface_info.parent_struct, signal_name); if (info == NULL) @@ -1124,9 +1125,9 @@ org_freedesktop_dbus_properties_proxy_iface_init (OrgFreedesktopDBusPropertiesIf * org_freedesktop_dbus_properties_proxy_new: * @connection: A #GDBusConnection. * @flags: Flags from the #GDBusProxyFlags enumeration. - * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied. * @user_data: User data to pass to @callback. * @@ -1179,9 +1180,9 @@ org_freedesktop_dbus_properties_proxy_new_finish ( * org_freedesktop_dbus_properties_proxy_new_sync: * @connection: A #GDBusConnection. * @flags: Flags from the #GDBusProxyFlags enumeration. - * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL * * Synchronously creates a proxy for the D-Bus interface org.freedesktop.DBus.Properties. See g_dbus_proxy_new_sync() for more details. @@ -1216,7 +1217,7 @@ org_freedesktop_dbus_properties_proxy_new_sync ( * @flags: Flags from the #GDBusProxyFlags enumeration. * @name: A bus name (well-known or unique). * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied. * @user_data: User data to pass to @callback. * @@ -1271,7 +1272,7 @@ org_freedesktop_dbus_properties_proxy_new_for_bus_finish ( * @flags: Flags from the #GDBusProxyFlags enumeration. * @name: A bus name (well-known or unique). * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL * * Like org_freedesktop_dbus_properties_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. @@ -1340,9 +1341,9 @@ _org_freedesktop_dbus_properties_skeleton_handle_method_call ( GVariantIter iter; GVariant *child; GValue *paramv; - guint num_params; + gsize num_params; guint num_extra; - guint n; + gsize n; guint signal_id; GValue return_value = G_VALUE_INIT; info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); @@ -1544,11 +1545,11 @@ static void org_freedesktop_dbus_properties_skeleton_iface_init (OrgFreedesktopD #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 G_DEFINE_TYPE_WITH_CODE (OrgFreedesktopDBusPropertiesSkeleton, org_freedesktop_dbus_properties_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, G_ADD_PRIVATE (OrgFreedesktopDBusPropertiesSkeleton) - G_IMPLEMENT_INTERFACE (TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES, org_freedesktop_dbus_properties_skeleton_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES, org_freedesktop_dbus_properties_skeleton_iface_init)) #else G_DEFINE_TYPE_WITH_CODE (OrgFreedesktopDBusPropertiesSkeleton, org_freedesktop_dbus_properties_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, - G_IMPLEMENT_INTERFACE (TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES, org_freedesktop_dbus_properties_skeleton_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES, org_freedesktop_dbus_properties_skeleton_iface_init)) #endif static void -- cgit 1.2.3-korg