diff options
author | Maximiliano Sandoval R <msandova@gnome.org> | 2022-07-15 09:28:08 +0200 |
---|---|---|
committer | Maximiliano Sandoval R <msandova@gnome.org> | 2022-12-14 21:02:15 +0100 |
commit | 992e87f7f1ea0698d361765e358d6c8e68508589 (patch) | |
tree | c2241e3377e58a51712f5fcdaa0aee1a626840c9 | |
parent | 0290939b4e258008d7ea6a3df188a8381a57b0a5 (diff) | |
download | libnotify-992e87f7f1ea0698d361765e358d6c8e68508589.tar.gz |
gi: Add missing nullable annotations
-rw-r--r-- | libnotify/notification.c | 4 | ||||
-rw-r--r-- | 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) |