summaryrefslogtreecommitdiffstats
path: root/binding/gdbus/freedesktop_dbus_properties_interface.c
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-01-29 01:37:33 -0800
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-01-29 01:37:33 -0800
commit54bc2c77b9b2dffd9c4bc1a2b51c199252d5d575 (patch)
tree2fec1ba43055b84590f0e730830f60f25ee742c5 /binding/gdbus/freedesktop_dbus_properties_interface.c
parentdb55cecfdfb91b5ef94b790003dd8d2b7dae8563 (diff)
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 <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding/gdbus/freedesktop_dbus_properties_interface.c')
-rw-r--r--binding/gdbus/freedesktop_dbus_properties_interface.c49
1 files changed, 25 insertions, 24 deletions
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 <link linkend="gdbus-method-org-freedesktop-DBus-Properties.Get">Get()</link> 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 <link linkend="gdbus-method-org-freedesktop-DBus-Properties.GetAll">GetAll()</link> 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 <link linkend="gdbus-method-org-freedesktop-DBus-Properties.Set">Set()</link> 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 <link linkend="gdbus-interface-org-freedesktop-DBus-Properties.top_of_page">org.freedesktop.DBus.Properties</link>. 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