summaryrefslogtreecommitdiffstats
path: root/binding/gdbus/obex_transfer1_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_transfer1_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_transfer1_interface.c')
-rw-r--r--binding/gdbus/obex_transfer1_interface.c49
1 files changed, 25 insertions, 24 deletions
diff --git a/binding/gdbus/obex_transfer1_interface.c b/binding/gdbus/obex_transfer1_interface.c
index 4df5323..191e9bf 100644
--- a/binding/gdbus/obex_transfer1_interface.c
+++ b/binding/gdbus/obex_transfer1_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
@@ -239,7 +240,7 @@ org_bluez_obex_transfer1_interface_info (void)
/**
* org_bluez_obex_transfer1_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 #OrgBluezObexTransfer1 interface for a concrete class.
@@ -272,7 +273,7 @@ org_bluez_obex_transfer1_override_properties (GObjectClass *klass, guint propert
*/
typedef OrgBluezObexTransfer1Iface OrgBluezObexTransfer1Interface;
-G_DEFINE_INTERFACE (OrgBluezObexTransfer1, org_bluez_obex_transfer1, G_TYPE_OBJECT);
+G_DEFINE_INTERFACE (OrgBluezObexTransfer1, org_bluez_obex_transfer1, G_TYPE_OBJECT)
static void
org_bluez_obex_transfer1_default_init (OrgBluezObexTransfer1Iface *iface)
@@ -349,7 +350,7 @@ org_bluez_obex_transfer1_default_init (OrgBluezObexTransfer1Iface *iface)
/**
* org_bluez_obex_transfer1_call_cancel:
* @proxy: A #OrgBluezObexTransfer1Proxy.
- * @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.
*
@@ -406,7 +407,7 @@ _out:
/**
* org_bluez_obex_transfer1_call_cancel_sync:
* @proxy: A #OrgBluezObexTransfer1Proxy.
- * @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-Transfer1.Cancel">Cancel()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
@@ -441,7 +442,7 @@ _out:
/**
* org_bluez_obex_transfer1_call_suspend:
* @proxy: A #OrgBluezObexTransfer1Proxy.
- * @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.
*
@@ -498,7 +499,7 @@ _out:
/**
* org_bluez_obex_transfer1_call_suspend_sync:
* @proxy: A #OrgBluezObexTransfer1Proxy.
- * @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-Transfer1.Suspend">Suspend()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
@@ -533,7 +534,7 @@ _out:
/**
* org_bluez_obex_transfer1_call_resume:
* @proxy: A #OrgBluezObexTransfer1Proxy.
- * @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.
*
@@ -590,7 +591,7 @@ _out:
/**
* org_bluez_obex_transfer1_call_resume_sync:
* @proxy: A #OrgBluezObexTransfer1Proxy.
- * @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-Transfer1.Resume">Resume()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
@@ -701,11 +702,11 @@ static void org_bluez_obex_transfer1_proxy_iface_init (OrgBluezObexTransfer1Ifac
#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
G_DEFINE_TYPE_WITH_CODE (OrgBluezObexTransfer1Proxy, org_bluez_obex_transfer1_proxy, G_TYPE_DBUS_PROXY,
G_ADD_PRIVATE (OrgBluezObexTransfer1Proxy)
- G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_TRANSFER1, org_bluez_obex_transfer1_proxy_iface_init));
+ G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_TRANSFER1, org_bluez_obex_transfer1_proxy_iface_init))
#else
G_DEFINE_TYPE_WITH_CODE (OrgBluezObexTransfer1Proxy, org_bluez_obex_transfer1_proxy, G_TYPE_DBUS_PROXY,
- G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_TRANSFER1, org_bluez_obex_transfer1_proxy_iface_init));
+ G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_TRANSFER1, org_bluez_obex_transfer1_proxy_iface_init))
#endif
static void
@@ -742,8 +743,8 @@ org_bluez_obex_transfer1_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_transfer1_interface_info.parent_struct, signal_name);
if (info == NULL)
@@ -843,9 +844,9 @@ org_bluez_obex_transfer1_proxy_iface_init (OrgBluezObexTransfer1Iface *iface)
* org_bluez_obex_transfer1_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.
*
@@ -898,9 +899,9 @@ org_bluez_obex_transfer1_proxy_new_finish (
* org_bluez_obex_transfer1_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-Transfer1.top_of_page">org.bluez.obex.Transfer1</link>. See g_dbus_proxy_new_sync() for more details.
@@ -935,7 +936,7 @@ org_bluez_obex_transfer1_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.
*
@@ -990,7 +991,7 @@ org_bluez_obex_transfer1_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_transfer1_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
@@ -1059,9 +1060,9 @@ _org_bluez_obex_transfer1_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);
@@ -1235,11 +1236,11 @@ static void org_bluez_obex_transfer1_skeleton_iface_init (OrgBluezObexTransfer1I
#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
G_DEFINE_TYPE_WITH_CODE (OrgBluezObexTransfer1Skeleton, org_bluez_obex_transfer1_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
G_ADD_PRIVATE (OrgBluezObexTransfer1Skeleton)
- G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_TRANSFER1, org_bluez_obex_transfer1_skeleton_iface_init));
+ G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_TRANSFER1, org_bluez_obex_transfer1_skeleton_iface_init))
#else
G_DEFINE_TYPE_WITH_CODE (OrgBluezObexTransfer1Skeleton, org_bluez_obex_transfer1_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
- G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_TRANSFER1, org_bluez_obex_transfer1_skeleton_iface_init));
+ G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_TRANSFER1, org_bluez_obex_transfer1_skeleton_iface_init))
#endif
static void