gi: Add missing nullable annotations

This commit is contained in:
Maximiliano Sandoval R 2022-07-15 09:28:08 +02:00
parent 260f497fa0
commit 749831e5e8
No known key found for this signature in database
GPG Key ID: D64A8D747F6FE706
2 changed files with 3 additions and 3 deletions

View File

@ -1459,7 +1459,7 @@ notify_notification_set_hint (NotifyNotification *notification,
/**
* notify_notification_set_app_name:
* @notification: a #NotifyNotification
* @app_name: the localised application name
* @app_name: (nullable): the localised application name
*
* Sets the application name for the notification.
*
@ -1730,7 +1730,7 @@ notify_notification_add_action (NotifyNotification *notification,
* the activation token for the activated action, if the notification daemon
* supports it.
*
* Return value: (transfer none): The current activation token, or %NULL if none
* Returns: (nullable) (transfer none): The current activation token, or %NULL if none
*
* Since: 0.7.10
*/

View File

@ -542,7 +542,7 @@ _get_portal_proxy (GError **error)
* Synchronously creates the #GDBusProxy for the notification service,
* and caches the result.
*
* Returns: the #GDBusProxy for the notification service, or %NULL on error
* Returns: (nullable): the #GDBusProxy for the notification service, or %NULL on error
*/
GDBusProxy *
_notify_get_proxy (GError **error)