[libadwaita] animation-target: Mark callback as not nullable
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita] animation-target: Mark callback as not nullable
- Date: Wed, 1 Jun 2022 11:01:12 +0000 (UTC)
commit 0795485e9e28673d2f6dfdad4d7748dd59ab0698
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Wed Jun 1 11:01:11 2022 +0000
animation-target: Mark callback as not nullable
Fixes https://gitlab.gnome.org/GNOME/libadwaita/-/issues/465
src/adw-animation-target.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/adw-animation-target.c b/src/adw-animation-target.c
index cbc4ab5a..310c5baf 100644
--- a/src/adw-animation-target.c
+++ b/src/adw-animation-target.c
@@ -124,7 +124,7 @@ adw_callback_animation_target_init (AdwCallbackAnimationTarget *self)
/**
* adw_callback_animation_target_new:
- * @callback: (scope notified): the callback to call
+ * @callback: (scope notified) (not nullable): the callback to call
* @user_data: (closure callback): the data to be passed to @callback
* @destroy: (destroy user_data): the function to be called when the
* callback action is finalized
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]