diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-01-13 19:32:29 -0800 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-01-13 21:34:38 -0800 |
commit | 0753395f9f9e1f294192323ac29d2a3e1d1cf93c (patch) | |
tree | ce5754bdf09fac04c21a90b08efc6f92b03aa66a /binding/gdbus/ofono_voicecall_interface.c | |
parent | f812dd06ec66fe18b9c79b7afd7c6bf444335c1b (diff) |
binding: telephony: remove compiler warnings
Remove compiler warnings on gdbus generated code by regenerating
with gdbus-codegen 2.56.3
Change-Id: I9e5525031b8ac5662a101d71fc06179eab02695b
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding/gdbus/ofono_voicecall_interface.c')
-rw-r--r-- | binding/gdbus/ofono_voicecall_interface.c | 57 |
1 files changed, 29 insertions, 28 deletions
diff --git a/binding/gdbus/ofono_voicecall_interface.c b/binding/gdbus/ofono_voicecall_interface.c index c5260b3..d56655e 100644 --- a/binding/gdbus/ofono_voicecall_interface.c +++ b/binding/gdbus/ofono_voicecall_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 @@ -405,7 +406,7 @@ org_ofono_voice_call_interface_info (void) /** * org_ofono_voice_call_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 #OrgOfonoVoiceCall interface for a concrete class. @@ -442,7 +443,7 @@ org_ofono_voice_call_override_properties (GObjectClass *klass, guint property_id */ typedef OrgOfonoVoiceCallIface OrgOfonoVoiceCallInterface; -G_DEFINE_INTERFACE (OrgOfonoVoiceCall, org_ofono_voice_call, G_TYPE_OBJECT); +G_DEFINE_INTERFACE (OrgOfonoVoiceCall, org_ofono_voice_call, G_TYPE_OBJECT) static void org_ofono_voice_call_default_init (OrgOfonoVoiceCallIface *iface) @@ -638,7 +639,7 @@ org_ofono_voice_call_emit_disconnect_reason ( /** * org_ofono_voice_call_call_get_properties: * @proxy: A #OrgOfonoVoiceCallProxy. - * @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. * @@ -699,7 +700,7 @@ _out: * org_ofono_voice_call_call_get_properties_sync: * @proxy: A #OrgOfonoVoiceCallProxy. * @out_unnamed_arg0: (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-ofono-VoiceCall.GetProperties">GetProperties()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -738,7 +739,7 @@ _out: * @proxy: A #OrgOfonoVoiceCallProxy. * @arg_unnamed_arg0: Argument to pass with the method invocation. * @arg_unnamed_arg1: 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. * @@ -801,7 +802,7 @@ _out: * @proxy: A #OrgOfonoVoiceCallProxy. * @arg_unnamed_arg0: Argument to pass with the method invocation. * @arg_unnamed_arg1: 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-ofono-VoiceCall.SetProperty">SetProperty()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -840,7 +841,7 @@ _out: /** * org_ofono_voice_call_call_answer: * @proxy: A #OrgOfonoVoiceCallProxy. - * @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. * @@ -897,7 +898,7 @@ _out: /** * org_ofono_voice_call_call_answer_sync: * @proxy: A #OrgOfonoVoiceCallProxy. - * @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-ofono-VoiceCall.Answer">Answer()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -932,7 +933,7 @@ _out: /** * org_ofono_voice_call_call_hangup: * @proxy: A #OrgOfonoVoiceCallProxy. - * @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. * @@ -989,7 +990,7 @@ _out: /** * org_ofono_voice_call_call_hangup_sync: * @proxy: A #OrgOfonoVoiceCallProxy. - * @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-ofono-VoiceCall.Hangup">Hangup()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -1025,7 +1026,7 @@ _out: * org_ofono_voice_call_call_deflect: * @proxy: A #OrgOfonoVoiceCallProxy. * @arg_unnamed_arg0: 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. * @@ -1085,7 +1086,7 @@ _out: * org_ofono_voice_call_call_deflect_sync: * @proxy: A #OrgOfonoVoiceCallProxy. * @arg_unnamed_arg0: 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-ofono-VoiceCall.Deflect">Deflect()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -1237,11 +1238,11 @@ static void org_ofono_voice_call_proxy_iface_init (OrgOfonoVoiceCallIface *iface #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 G_DEFINE_TYPE_WITH_CODE (OrgOfonoVoiceCallProxy, org_ofono_voice_call_proxy, G_TYPE_DBUS_PROXY, G_ADD_PRIVATE (OrgOfonoVoiceCallProxy) - G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_VOICE_CALL, org_ofono_voice_call_proxy_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_VOICE_CALL, org_ofono_voice_call_proxy_iface_init)) #else G_DEFINE_TYPE_WITH_CODE (OrgOfonoVoiceCallProxy, org_ofono_voice_call_proxy, G_TYPE_DBUS_PROXY, - G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_VOICE_CALL, org_ofono_voice_call_proxy_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_VOICE_CALL, org_ofono_voice_call_proxy_iface_init)) #endif static void @@ -1278,8 +1279,8 @@ org_ofono_voice_call_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_ofono_voice_call_interface_info.parent_struct, signal_name); if (info == NULL) @@ -1379,9 +1380,9 @@ org_ofono_voice_call_proxy_iface_init (OrgOfonoVoiceCallIface *iface) * org_ofono_voice_call_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. * @@ -1434,9 +1435,9 @@ org_ofono_voice_call_proxy_new_finish ( * org_ofono_voice_call_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-ofono-VoiceCall.top_of_page">org.ofono.VoiceCall</link>. See g_dbus_proxy_new_sync() for more details. @@ -1471,7 +1472,7 @@ org_ofono_voice_call_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. * @@ -1526,7 +1527,7 @@ org_ofono_voice_call_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_ofono_voice_call_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. @@ -1595,9 +1596,9 @@ _org_ofono_voice_call_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); @@ -1821,11 +1822,11 @@ static void org_ofono_voice_call_skeleton_iface_init (OrgOfonoVoiceCallIface *if #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 G_DEFINE_TYPE_WITH_CODE (OrgOfonoVoiceCallSkeleton, org_ofono_voice_call_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, G_ADD_PRIVATE (OrgOfonoVoiceCallSkeleton) - G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_VOICE_CALL, org_ofono_voice_call_skeleton_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_VOICE_CALL, org_ofono_voice_call_skeleton_iface_init)) #else G_DEFINE_TYPE_WITH_CODE (OrgOfonoVoiceCallSkeleton, org_ofono_voice_call_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, - G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_VOICE_CALL, org_ofono_voice_call_skeleton_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_VOICE_CALL, org_ofono_voice_call_skeleton_iface_init)) #endif static void |