summaryrefslogtreecommitdiffstats
path: root/binding/gdbus/obex_client1_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/obex_client1_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/obex_client1_interface.c')
-rw-r--r--binding/gdbus/obex_client1_interface.c73
1 files changed, 37 insertions, 36 deletions
diff --git a/binding/gdbus/obex_client1_interface.c b/binding/gdbus/obex_client1_interface.c
index f58513d..87271d6 100644
--- a/binding/gdbus/obex_client1_interface.c
+++ b/binding/gdbus/obex_client1_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
@@ -288,7 +289,7 @@ org_bluez_obex_client1_interface_info (void)
/**
* org_bluez_obex_client1_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 #OrgBluezObexClient1 interface for a concrete class.
@@ -320,7 +321,7 @@ org_bluez_obex_client1_override_properties (GObjectClass *klass, guint property_
*/
typedef OrgBluezObexClient1Iface OrgBluezObexClient1Interface;
-G_DEFINE_INTERFACE (OrgBluezObexClient1, org_bluez_obex_client1, G_TYPE_OBJECT);
+G_DEFINE_INTERFACE (OrgBluezObexClient1, org_bluez_obex_client1, G_TYPE_OBJECT)
static void
org_bluez_obex_client1_default_init (OrgBluezObexClient1Iface *iface)
@@ -380,7 +381,7 @@ org_bluez_obex_client1_default_init (OrgBluezObexClient1Iface *iface)
* @proxy: A #OrgBluezObexClient1Proxy.
* @arg_destination: Argument to pass with the method invocation.
* @arg_args: 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.
*
@@ -447,7 +448,7 @@ _out:
* @arg_destination: Argument to pass with the method invocation.
* @arg_args: Argument to pass with the method invocation.
* @out_session: (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-bluez-obex-Client1.CreateSession">CreateSession()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
@@ -489,7 +490,7 @@ _out:
* org_bluez_obex_client1_call_remove_session:
* @proxy: A #OrgBluezObexClient1Proxy.
* @arg_session: 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.
*
@@ -549,7 +550,7 @@ _out:
* org_bluez_obex_client1_call_remove_session_sync:
* @proxy: A #OrgBluezObexClient1Proxy.
* @arg_session: 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-bluez-obex-Client1.RemoveSession">RemoveSession()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
@@ -647,11 +648,11 @@ static void org_bluez_obex_client1_proxy_iface_init (OrgBluezObexClient1Iface *i
#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
G_DEFINE_TYPE_WITH_CODE (OrgBluezObexClient1Proxy, org_bluez_obex_client1_proxy, G_TYPE_DBUS_PROXY,
G_ADD_PRIVATE (OrgBluezObexClient1Proxy)
- G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_CLIENT1, org_bluez_obex_client1_proxy_iface_init));
+ G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_CLIENT1, org_bluez_obex_client1_proxy_iface_init))
#else
G_DEFINE_TYPE_WITH_CODE (OrgBluezObexClient1Proxy, org_bluez_obex_client1_proxy, G_TYPE_DBUS_PROXY,
- G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_CLIENT1, org_bluez_obex_client1_proxy_iface_init));
+ G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_CLIENT1, org_bluez_obex_client1_proxy_iface_init))
#endif
static void
@@ -688,8 +689,8 @@ org_bluez_obex_client1_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_bluez_obex_client1_interface_info.parent_struct, signal_name);
if (info == NULL)
@@ -789,9 +790,9 @@ org_bluez_obex_client1_proxy_iface_init (OrgBluezObexClient1Iface *iface)
* org_bluez_obex_client1_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.
*
@@ -844,9 +845,9 @@ org_bluez_obex_client1_proxy_new_finish (
* org_bluez_obex_client1_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-bluez-obex-Client1.top_of_page">org.bluez.obex.Client1</link>. See g_dbus_proxy_new_sync() for more details.
@@ -881,7 +882,7 @@ org_bluez_obex_client1_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.
*
@@ -936,7 +937,7 @@ org_bluez_obex_client1_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_bluez_obex_client1_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
@@ -1005,9 +1006,9 @@ _org_bluez_obex_client1_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);
@@ -1181,11 +1182,11 @@ static void org_bluez_obex_client1_skeleton_iface_init (OrgBluezObexClient1Iface
#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
G_DEFINE_TYPE_WITH_CODE (OrgBluezObexClient1Skeleton, org_bluez_obex_client1_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
G_ADD_PRIVATE (OrgBluezObexClient1Skeleton)
- G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_CLIENT1, org_bluez_obex_client1_skeleton_iface_init));
+ G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_CLIENT1, org_bluez_obex_client1_skeleton_iface_init))
#else
G_DEFINE_TYPE_WITH_CODE (OrgBluezObexClient1Skeleton, org_bluez_obex_client1_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
- G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_CLIENT1, org_bluez_obex_client1_skeleton_iface_init));
+ G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_CLIENT1, org_bluez_obex_client1_skeleton_iface_init))
#endif
static void
@@ -1278,7 +1279,7 @@ org_bluez_obex_client1_skeleton_new (void)
*/
typedef ObjectIface ObjectInterface;
-G_DEFINE_INTERFACE_WITH_CODE (Object, object, G_TYPE_OBJECT, g_type_interface_add_prerequisite (g_define_type_id, G_TYPE_DBUS_OBJECT));
+G_DEFINE_INTERFACE_WITH_CODE (Object, object, G_TYPE_OBJECT, g_type_interface_add_prerequisite (g_define_type_id, G_TYPE_DBUS_OBJECT);)
static void
object_default_init (ObjectIface *iface)
@@ -1372,7 +1373,7 @@ object_proxy__g_dbus_object_iface_init (GDBusObjectIface *iface)
G_DEFINE_TYPE_WITH_CODE (ObjectProxy, object_proxy, G_TYPE_DBUS_OBJECT_PROXY,
G_IMPLEMENT_INTERFACE (TYPE_OBJECT, object_proxy__object_iface_init)
- G_IMPLEMENT_INTERFACE (G_TYPE_DBUS_OBJECT, object_proxy__g_dbus_object_iface_init));
+ G_IMPLEMENT_INTERFACE (G_TYPE_DBUS_OBJECT, object_proxy__g_dbus_object_iface_init))
static void
object_proxy_init (ObjectProxy *object G_GNUC_UNUSED)
@@ -1467,7 +1468,7 @@ object_skeleton__g_dbus_object_iface_init (GDBusObjectIface *iface)
G_DEFINE_TYPE_WITH_CODE (ObjectSkeleton, object_skeleton, G_TYPE_DBUS_OBJECT_SKELETON,
G_IMPLEMENT_INTERFACE (TYPE_OBJECT, object_skeleton__object_iface_init)
- G_IMPLEMENT_INTERFACE (G_TYPE_DBUS_OBJECT, object_skeleton__g_dbus_object_iface_init));
+ G_IMPLEMENT_INTERFACE (G_TYPE_DBUS_OBJECT, object_skeleton__g_dbus_object_iface_init))
static void
object_skeleton_init (ObjectSkeleton *object G_GNUC_UNUSED)
@@ -1555,7 +1556,7 @@ object_skeleton_new (const gchar *object_path)
/**
* object_skeleton_set_org_bluez_obex_client1:
* @object: A #ObjectSkeleton.
- * @interface_: (allow-none): A #OrgBluezObexClient1 or %NULL to clear the interface.
+ * @interface_: (nullable): A #OrgBluezObexClient1 or %NULL to clear the interface.
*
* Sets the #OrgBluezObexClient1 instance for the D-Bus interface <link linkend="gdbus-interface-org-bluez-obex-Client1.top_of_page">org.bluez.obex.Client1</link> on @object.
*/
@@ -1591,7 +1592,7 @@ void object_skeleton_set_org_bluez_obex_client1 (ObjectSkeleton *object, OrgBlue
* Class structure for #ObjectManagerClient.
*/
-G_DEFINE_TYPE (ObjectManagerClient, object_manager_client, G_TYPE_DBUS_OBJECT_MANAGER_CLIENT);
+G_DEFINE_TYPE (ObjectManagerClient, object_manager_client, G_TYPE_DBUS_OBJECT_MANAGER_CLIENT)
static void
object_manager_client_init (ObjectManagerClient *manager G_GNUC_UNUSED)
@@ -1607,12 +1608,12 @@ object_manager_client_class_init (ObjectManagerClientClass *klass G_GNUC_UNUSED)
* object_manager_client_get_proxy_type:
* @manager: A #GDBusObjectManagerClient.
* @object_path: The object path of the remote object (unused).
- * @interface_name: (allow-none): Interface name of the remote object or %NULL to get the object proxy #GType.
+ * @interface_name: (nullable): Interface name of the remote object or %NULL to get the object proxy #GType.
* @user_data: User data (unused).
*
- * A #GDBusProxyTypeFunc that maps @interface_name to the generated #GDBusObjectProxy<!-- -->- and #GDBusProxy<!-- -->-derived types.
+ * A #GDBusProxyTypeFunc that maps @interface_name to the generated #GDBusObjectProxy derived and #GDBusProxy derived types.
*
- * Returns: A #GDBusProxy<!-- -->-derived #GType if @interface_name is not %NULL, otherwise the #GType for #ObjectProxy.
+ * Returns: A #GDBusProxy derived #GType if @interface_name is not %NULL, otherwise the #GType for #ObjectProxy.
*/
GType
object_manager_client_get_proxy_type (GDBusObjectManagerClient *manager G_GNUC_UNUSED, const gchar *object_path G_GNUC_UNUSED, const gchar *interface_name, gpointer user_data G_GNUC_UNUSED)
@@ -1639,9 +1640,9 @@ object_manager_client_get_proxy_type (GDBusObjectManagerClient *manager G_GNUC_U
* object_manager_client_new:
* @connection: A #GDBusConnection.
* @flags: Flags from the #GDBusObjectManagerClientFlags 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.
*
@@ -1694,9 +1695,9 @@ object_manager_client_new_finish (
* object_manager_client_new_sync:
* @connection: A #GDBusConnection.
* @flags: Flags from the #GDBusObjectManagerClientFlags 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 #GDBusObjectManagerClient using object_manager_client_get_proxy_type() as the #GDBusProxyTypeFunc. See g_dbus_object_manager_client_new_sync() for more details.
@@ -1731,7 +1732,7 @@ object_manager_client_new_sync (
* @flags: Flags from the #GDBusObjectManagerClientFlags 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.
*
@@ -1786,7 +1787,7 @@ object_manager_client_new_for_bus_finish (
* @flags: Flags from the #GDBusObjectManagerClientFlags 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 object_manager_client_new_sync() but takes a #GBusType instead of a #GDBusConnection.