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 | |
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')
-rw-r--r-- | binding/gdbus/ofono_manager_interface.c | 69 | ||||
-rw-r--r-- | binding/gdbus/ofono_manager_interface.h | 5 | ||||
-rw-r--r-- | binding/gdbus/ofono_voicecall_interface.c | 57 | ||||
-rw-r--r-- | binding/gdbus/ofono_voicecall_interface.h | 5 | ||||
-rw-r--r-- | binding/gdbus/ofono_voicecallmanager_interface.c | 93 | ||||
-rw-r--r-- | binding/gdbus/ofono_voicecallmanager_interface.h | 5 |
6 files changed, 120 insertions, 114 deletions
diff --git a/binding/gdbus/ofono_manager_interface.c b/binding/gdbus/ofono_manager_interface.c index d58021f..4b84c50 100644 --- a/binding/gdbus/ofono_manager_interface.c +++ b/binding/gdbus/ofono_manager_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 @@ -303,7 +304,7 @@ org_ofono_manager_interface_info (void) /** * org_ofono_manager_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 #OrgOfonoManager interface for a concrete class. @@ -336,7 +337,7 @@ org_ofono_manager_override_properties (GObjectClass *klass, guint property_id_be */ typedef OrgOfonoManagerIface OrgOfonoManagerInterface; -G_DEFINE_INTERFACE (OrgOfonoManager, org_ofono_manager, G_TYPE_OBJECT); +G_DEFINE_INTERFACE (OrgOfonoManager, org_ofono_manager, G_TYPE_OBJECT) static void org_ofono_manager_default_init (OrgOfonoManagerIface *iface) @@ -441,7 +442,7 @@ org_ofono_manager_emit_modem_removed ( /** * org_ofono_manager_call_get_modems: * @proxy: A #OrgOfonoManagerProxy. - * @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. * @@ -502,7 +503,7 @@ _out: * org_ofono_manager_call_get_modems_sync: * @proxy: A #OrgOfonoManagerProxy. * @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-Manager.GetModems">GetModems()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -582,11 +583,11 @@ static void org_ofono_manager_proxy_iface_init (OrgOfonoManagerIface *iface); #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 G_DEFINE_TYPE_WITH_CODE (OrgOfonoManagerProxy, org_ofono_manager_proxy, G_TYPE_DBUS_PROXY, G_ADD_PRIVATE (OrgOfonoManagerProxy) - G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_MANAGER, org_ofono_manager_proxy_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_MANAGER, org_ofono_manager_proxy_iface_init)) #else G_DEFINE_TYPE_WITH_CODE (OrgOfonoManagerProxy, org_ofono_manager_proxy, G_TYPE_DBUS_PROXY, - G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_MANAGER, org_ofono_manager_proxy_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_MANAGER, org_ofono_manager_proxy_iface_init)) #endif static void @@ -623,8 +624,8 @@ org_ofono_manager_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_manager_interface_info.parent_struct, signal_name); if (info == NULL) @@ -724,9 +725,9 @@ org_ofono_manager_proxy_iface_init (OrgOfonoManagerIface *iface) * org_ofono_manager_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. * @@ -779,9 +780,9 @@ org_ofono_manager_proxy_new_finish ( * org_ofono_manager_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-Manager.top_of_page">org.ofono.Manager</link>. See g_dbus_proxy_new_sync() for more details. @@ -816,7 +817,7 @@ org_ofono_manager_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. * @@ -871,7 +872,7 @@ org_ofono_manager_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_manager_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. @@ -940,9 +941,9 @@ _org_ofono_manager_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); @@ -1166,11 +1167,11 @@ static void org_ofono_manager_skeleton_iface_init (OrgOfonoManagerIface *iface); #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 G_DEFINE_TYPE_WITH_CODE (OrgOfonoManagerSkeleton, org_ofono_manager_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, G_ADD_PRIVATE (OrgOfonoManagerSkeleton) - G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_MANAGER, org_ofono_manager_skeleton_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_MANAGER, org_ofono_manager_skeleton_iface_init)) #else G_DEFINE_TYPE_WITH_CODE (OrgOfonoManagerSkeleton, org_ofono_manager_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, - G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_MANAGER, org_ofono_manager_skeleton_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_MANAGER, org_ofono_manager_skeleton_iface_init)) #endif static void @@ -1265,7 +1266,7 @@ org_ofono_manager_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) @@ -1359,7 +1360,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) @@ -1454,7 +1455,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) @@ -1542,7 +1543,7 @@ object_skeleton_new (const gchar *object_path) /** * object_skeleton_set_org_ofono_manager: * @object: A #ObjectSkeleton. - * @interface_: (allow-none): A #OrgOfonoManager or %NULL to clear the interface. + * @interface_: (nullable): A #OrgOfonoManager or %NULL to clear the interface. * * Sets the #OrgOfonoManager instance for the D-Bus interface <link linkend="gdbus-interface-org-ofono-Manager.top_of_page">org.ofono.Manager</link> on @object. */ @@ -1578,7 +1579,7 @@ void object_skeleton_set_org_ofono_manager (ObjectSkeleton *object, OrgOfonoMana * 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) @@ -1594,12 +1595,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) @@ -1626,9 +1627,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. * @@ -1681,9 +1682,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. @@ -1718,7 +1719,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. * @@ -1773,7 +1774,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. diff --git a/binding/gdbus/ofono_manager_interface.h b/binding/gdbus/ofono_manager_interface.h index f8522c9..4d7231d 100644 --- a/binding/gdbus/ofono_manager_interface.h +++ b/binding/gdbus/ofono_manager_interface.h @@ -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. */ #ifndef __OFONO_MANAGER_INTERFACE_H__ 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 diff --git a/binding/gdbus/ofono_voicecall_interface.h b/binding/gdbus/ofono_voicecall_interface.h index 883df40..915a8ff 100644 --- a/binding/gdbus/ofono_voicecall_interface.h +++ b/binding/gdbus/ofono_voicecall_interface.h @@ -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. */ #ifndef __OFONO_VOICECALL_INTERFACE_H__ diff --git a/binding/gdbus/ofono_voicecallmanager_interface.c b/binding/gdbus/ofono_voicecallmanager_interface.c index 88c86da..6552dbb 100644 --- a/binding/gdbus/ofono_voicecallmanager_interface.c +++ b/binding/gdbus/ofono_voicecallmanager_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 @@ -687,7 +688,7 @@ org_ofono_voice_call_manager_interface_info (void) /** * org_ofono_voice_call_manager_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 #OrgOfonoVoiceCallManager interface for a concrete class. @@ -734,7 +735,7 @@ org_ofono_voice_call_manager_override_properties (GObjectClass *klass, guint pro */ typedef OrgOfonoVoiceCallManagerIface OrgOfonoVoiceCallManagerInterface; -G_DEFINE_INTERFACE (OrgOfonoVoiceCallManager, org_ofono_voice_call_manager, G_TYPE_OBJECT); +G_DEFINE_INTERFACE (OrgOfonoVoiceCallManager, org_ofono_voice_call_manager, G_TYPE_OBJECT) static void org_ofono_voice_call_manager_default_init (OrgOfonoVoiceCallManagerIface *iface) @@ -1190,7 +1191,7 @@ org_ofono_voice_call_manager_emit_forwarded ( /** * org_ofono_voice_call_manager_call_get_properties: * @proxy: A #OrgOfonoVoiceCallManagerProxy. - * @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. * @@ -1251,7 +1252,7 @@ _out: * org_ofono_voice_call_manager_call_get_properties_sync: * @proxy: A #OrgOfonoVoiceCallManagerProxy. * @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-VoiceCallManager.GetProperties">GetProperties()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -1290,7 +1291,7 @@ _out: * @proxy: A #OrgOfonoVoiceCallManagerProxy. * @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. * @@ -1357,7 +1358,7 @@ _out: * @arg_unnamed_arg0: Argument to pass with the method invocation. * @arg_unnamed_arg1: Argument to pass with the method invocation. * @out_unnamed_arg2: (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-VoiceCallManager.Dial">Dial()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -1398,7 +1399,7 @@ _out: /** * org_ofono_voice_call_manager_call_transfer: * @proxy: A #OrgOfonoVoiceCallManagerProxy. - * @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. * @@ -1455,7 +1456,7 @@ _out: /** * org_ofono_voice_call_manager_call_transfer_sync: * @proxy: A #OrgOfonoVoiceCallManagerProxy. - * @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-VoiceCallManager.Transfer">Transfer()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -1490,7 +1491,7 @@ _out: /** * org_ofono_voice_call_manager_call_swap_calls: * @proxy: A #OrgOfonoVoiceCallManagerProxy. - * @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. * @@ -1547,7 +1548,7 @@ _out: /** * org_ofono_voice_call_manager_call_swap_calls_sync: * @proxy: A #OrgOfonoVoiceCallManagerProxy. - * @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-VoiceCallManager.SwapCalls">SwapCalls()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -1582,7 +1583,7 @@ _out: /** * org_ofono_voice_call_manager_call_release_and_answer: * @proxy: A #OrgOfonoVoiceCallManagerProxy. - * @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. * @@ -1639,7 +1640,7 @@ _out: /** * org_ofono_voice_call_manager_call_release_and_answer_sync: * @proxy: A #OrgOfonoVoiceCallManagerProxy. - * @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-VoiceCallManager.ReleaseAndAnswer">ReleaseAndAnswer()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -1674,7 +1675,7 @@ _out: /** * org_ofono_voice_call_manager_call_hold_and_answer: * @proxy: A #OrgOfonoVoiceCallManagerProxy. - * @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. * @@ -1731,7 +1732,7 @@ _out: /** * org_ofono_voice_call_manager_call_hold_and_answer_sync: * @proxy: A #OrgOfonoVoiceCallManagerProxy. - * @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-VoiceCallManager.HoldAndAnswer">HoldAndAnswer()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -1766,7 +1767,7 @@ _out: /** * org_ofono_voice_call_manager_call_hangup_all: * @proxy: A #OrgOfonoVoiceCallManagerProxy. - * @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. * @@ -1823,7 +1824,7 @@ _out: /** * org_ofono_voice_call_manager_call_hangup_all_sync: * @proxy: A #OrgOfonoVoiceCallManagerProxy. - * @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-VoiceCallManager.HangupAll">HangupAll()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -1859,7 +1860,7 @@ _out: * org_ofono_voice_call_manager_call_private_chat: * @proxy: A #OrgOfonoVoiceCallManagerProxy. * @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. * @@ -1891,7 +1892,7 @@ org_ofono_voice_call_manager_call_private_chat ( /** * org_ofono_voice_call_manager_call_private_chat_finish: * @proxy: A #OrgOfonoVoiceCallManagerProxy. - * @out_unnamed_arg1: (out): Return location for return parameter or %NULL to ignore. + * @out_unnamed_arg1: (out) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_ofono_voice_call_manager_call_private_chat(). * @error: Return location for error or %NULL. * @@ -1922,8 +1923,8 @@ _out: * org_ofono_voice_call_manager_call_private_chat_sync: * @proxy: A #OrgOfonoVoiceCallManagerProxy. * @arg_unnamed_arg0: Argument to pass with the method invocation. - * @out_unnamed_arg1: (out): Return location for return parameter or %NULL to ignore. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @out_unnamed_arg1: (out) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL. * * Synchronously invokes the <link linkend="gdbus-method-org-ofono-VoiceCallManager.PrivateChat">PrivateChat()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -1962,7 +1963,7 @@ _out: /** * org_ofono_voice_call_manager_call_create_multiparty: * @proxy: A #OrgOfonoVoiceCallManagerProxy. - * @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. * @@ -1992,7 +1993,7 @@ org_ofono_voice_call_manager_call_create_multiparty ( /** * org_ofono_voice_call_manager_call_create_multiparty_finish: * @proxy: A #OrgOfonoVoiceCallManagerProxy. - * @out_unnamed_arg0: (out): Return location for return parameter or %NULL to ignore. + * @out_unnamed_arg0: (out) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_ofono_voice_call_manager_call_create_multiparty(). * @error: Return location for error or %NULL. * @@ -2022,8 +2023,8 @@ _out: /** * org_ofono_voice_call_manager_call_create_multiparty_sync: * @proxy: A #OrgOfonoVoiceCallManagerProxy. - * @out_unnamed_arg0: (out): Return location for return parameter or %NULL to ignore. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @out_unnamed_arg0: (out) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL. * * Synchronously invokes the <link linkend="gdbus-method-org-ofono-VoiceCallManager.CreateMultiparty">CreateMultiparty()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -2060,7 +2061,7 @@ _out: /** * org_ofono_voice_call_manager_call_hangup_multiparty: * @proxy: A #OrgOfonoVoiceCallManagerProxy. - * @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. * @@ -2117,7 +2118,7 @@ _out: /** * org_ofono_voice_call_manager_call_hangup_multiparty_sync: * @proxy: A #OrgOfonoVoiceCallManagerProxy. - * @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-VoiceCallManager.HangupMultiparty">HangupMultiparty()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -2153,7 +2154,7 @@ _out: * org_ofono_voice_call_manager_call_send_tones: * @proxy: A #OrgOfonoVoiceCallManagerProxy. * @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. * @@ -2213,7 +2214,7 @@ _out: * org_ofono_voice_call_manager_call_send_tones_sync: * @proxy: A #OrgOfonoVoiceCallManagerProxy. * @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-VoiceCallManager.SendTones">SendTones()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -2250,7 +2251,7 @@ _out: /** * org_ofono_voice_call_manager_call_get_calls: * @proxy: A #OrgOfonoVoiceCallManagerProxy. - * @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. * @@ -2311,7 +2312,7 @@ _out: * org_ofono_voice_call_manager_call_get_calls_sync: * @proxy: A #OrgOfonoVoiceCallManagerProxy. * @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-VoiceCallManager.GetCalls">GetCalls()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -2601,11 +2602,11 @@ static void org_ofono_voice_call_manager_proxy_iface_init (OrgOfonoVoiceCallMana #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 G_DEFINE_TYPE_WITH_CODE (OrgOfonoVoiceCallManagerProxy, org_ofono_voice_call_manager_proxy, G_TYPE_DBUS_PROXY, G_ADD_PRIVATE (OrgOfonoVoiceCallManagerProxy) - G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_VOICE_CALL_MANAGER, org_ofono_voice_call_manager_proxy_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_VOICE_CALL_MANAGER, org_ofono_voice_call_manager_proxy_iface_init)) #else G_DEFINE_TYPE_WITH_CODE (OrgOfonoVoiceCallManagerProxy, org_ofono_voice_call_manager_proxy, G_TYPE_DBUS_PROXY, - G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_VOICE_CALL_MANAGER, org_ofono_voice_call_manager_proxy_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_VOICE_CALL_MANAGER, org_ofono_voice_call_manager_proxy_iface_init)) #endif static void @@ -2642,8 +2643,8 @@ org_ofono_voice_call_manager_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_manager_interface_info.parent_struct, signal_name); if (info == NULL) @@ -2743,9 +2744,9 @@ org_ofono_voice_call_manager_proxy_iface_init (OrgOfonoVoiceCallManagerIface *if * org_ofono_voice_call_manager_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. * @@ -2798,9 +2799,9 @@ org_ofono_voice_call_manager_proxy_new_finish ( * org_ofono_voice_call_manager_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-VoiceCallManager.top_of_page">org.ofono.VoiceCallManager</link>. See g_dbus_proxy_new_sync() for more details. @@ -2835,7 +2836,7 @@ org_ofono_voice_call_manager_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. * @@ -2890,7 +2891,7 @@ org_ofono_voice_call_manager_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_manager_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. @@ -2959,9 +2960,9 @@ _org_ofono_voice_call_manager_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); @@ -3259,11 +3260,11 @@ static void org_ofono_voice_call_manager_skeleton_iface_init (OrgOfonoVoiceCallM #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 G_DEFINE_TYPE_WITH_CODE (OrgOfonoVoiceCallManagerSkeleton, org_ofono_voice_call_manager_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, G_ADD_PRIVATE (OrgOfonoVoiceCallManagerSkeleton) - G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_VOICE_CALL_MANAGER, org_ofono_voice_call_manager_skeleton_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_VOICE_CALL_MANAGER, org_ofono_voice_call_manager_skeleton_iface_init)) #else G_DEFINE_TYPE_WITH_CODE (OrgOfonoVoiceCallManagerSkeleton, org_ofono_voice_call_manager_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, - G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_VOICE_CALL_MANAGER, org_ofono_voice_call_manager_skeleton_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_OFONO_VOICE_CALL_MANAGER, org_ofono_voice_call_manager_skeleton_iface_init)) #endif static void diff --git a/binding/gdbus/ofono_voicecallmanager_interface.h b/binding/gdbus/ofono_voicecallmanager_interface.h index 3daa0e0..e05fdea 100644 --- a/binding/gdbus/ofono_voicecallmanager_interface.h +++ b/binding/gdbus/ofono_voicecallmanager_interface.h @@ -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. */ #ifndef __OFONO_VOICECALLMANAGER_INTERFACE_H__ |