summaryrefslogtreecommitdiffstats
path: root/binding/gdbus/obex_session1_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_session1_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_session1_interface.c')
-rw-r--r--binding/gdbus/obex_session1_interface.c41
1 files changed, 21 insertions, 20 deletions
diff --git a/binding/gdbus/obex_session1_interface.c b/binding/gdbus/obex_session1_interface.c
index 62476a3..eb556f3 100644
--- a/binding/gdbus/obex_session1_interface.c
+++ b/binding/gdbus/obex_session1_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
@@ -289,7 +290,7 @@ org_bluez_obex_session1_interface_info (void)
/**
* org_bluez_obex_session1_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 #OrgBluezObexSession1 interface for a concrete class.
@@ -328,7 +329,7 @@ org_bluez_obex_session1_override_properties (GObjectClass *klass, guint property
*/
typedef OrgBluezObexSession1Iface OrgBluezObexSession1Interface;
-G_DEFINE_INTERFACE (OrgBluezObexSession1, org_bluez_obex_session1, G_TYPE_OBJECT);
+G_DEFINE_INTERFACE (OrgBluezObexSession1, org_bluez_obex_session1, G_TYPE_OBJECT)
static void
org_bluez_obex_session1_default_init (OrgBluezObexSession1Iface *iface)
@@ -582,7 +583,7 @@ org_bluez_obex_session1_set_target (OrgBluezObexSession1 *object, const gchar *v
/**
* org_bluez_obex_session1_call_get_capabilities:
* @proxy: A #OrgBluezObexSession1Proxy.
- * @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.
*
@@ -643,7 +644,7 @@ _out:
* org_bluez_obex_session1_call_get_capabilities_sync:
* @proxy: A #OrgBluezObexSession1Proxy.
* @out_capabilities: (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-Session1.GetCapabilities">GetCapabilities()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
@@ -723,11 +724,11 @@ static void org_bluez_obex_session1_proxy_iface_init (OrgBluezObexSession1Iface
#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
G_DEFINE_TYPE_WITH_CODE (OrgBluezObexSession1Proxy, org_bluez_obex_session1_proxy, G_TYPE_DBUS_PROXY,
G_ADD_PRIVATE (OrgBluezObexSession1Proxy)
- G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_SESSION1, org_bluez_obex_session1_proxy_iface_init));
+ G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_SESSION1, org_bluez_obex_session1_proxy_iface_init))
#else
G_DEFINE_TYPE_WITH_CODE (OrgBluezObexSession1Proxy, org_bluez_obex_session1_proxy, G_TYPE_DBUS_PROXY,
- G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_SESSION1, org_bluez_obex_session1_proxy_iface_init));
+ G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_SESSION1, org_bluez_obex_session1_proxy_iface_init))
#endif
static void
@@ -815,8 +816,8 @@ org_bluez_obex_session1_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_session1_interface_info.parent_struct, signal_name);
if (info == NULL)
@@ -982,9 +983,9 @@ org_bluez_obex_session1_proxy_iface_init (OrgBluezObexSession1Iface *iface)
* org_bluez_obex_session1_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.
*
@@ -1037,9 +1038,9 @@ org_bluez_obex_session1_proxy_new_finish (
* org_bluez_obex_session1_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-Session1.top_of_page">org.bluez.obex.Session1</link>. See g_dbus_proxy_new_sync() for more details.
@@ -1074,7 +1075,7 @@ org_bluez_obex_session1_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.
*
@@ -1129,7 +1130,7 @@ org_bluez_obex_session1_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_session1_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
@@ -1198,9 +1199,9 @@ _org_bluez_obex_session1_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);
@@ -1390,11 +1391,11 @@ static void org_bluez_obex_session1_skeleton_iface_init (OrgBluezObexSession1Ifa
#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
G_DEFINE_TYPE_WITH_CODE (OrgBluezObexSession1Skeleton, org_bluez_obex_session1_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
G_ADD_PRIVATE (OrgBluezObexSession1Skeleton)
- G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_SESSION1, org_bluez_obex_session1_skeleton_iface_init));
+ G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_SESSION1, org_bluez_obex_session1_skeleton_iface_init))
#else
G_DEFINE_TYPE_WITH_CODE (OrgBluezObexSession1Skeleton, org_bluez_obex_session1_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
- G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_SESSION1, org_bluez_obex_session1_skeleton_iface_init));
+ G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_SESSION1, org_bluez_obex_session1_skeleton_iface_init))
#endif
static void