From 992e87f7f1ea0698d361765e358d6c8e68508589 Mon Sep 17 00:00:00 2001 From: Maximiliano Sandoval R Date: Fri, 15 Jul 2022 09:28:08 +0200 Subject: gi: Add missing nullable annotations --- libnotify/notification.c | 4 ++-- libnotify/notify.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libnotify/notification.c b/libnotify/notification.c index a5d7b18..ec4254b 100644 --- a/libnotify/notification.c +++ b/libnotify/notification.c @@ -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 */ diff --git a/libnotify/notify.c b/libnotify/notify.c index 2819e0b..f046dda 100644 --- a/libnotify/notify.c +++ b/libnotify/notify.c @@ -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) -- cgit v1.2.1