[libadwaita] animation-target: Add G_GNUC_WARN_UNUSED_RESULT to _new()
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita] animation-target: Add G_GNUC_WARN_UNUSED_RESULT to _new()
- Date: Mon, 22 Nov 2021 13:33:37 +0000 (UTC)
commit 7103d57360fb65e7a47587c6eb089203a1dffe18
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Nov 22 18:18:26 2021 +0500
animation-target: Add G_GNUC_WARN_UNUSED_RESULT to _new()
src/adw-animation-target.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/adw-animation-target.h b/src/adw-animation-target.h
index 6a579530..42483d04 100644
--- a/src/adw-animation-target.h
+++ b/src/adw-animation-target.h
@@ -42,6 +42,6 @@ GDK_DECLARE_INTERNAL_TYPE (AdwCallbackAnimationTarget, adw_callback_animation_ta
ADW_AVAILABLE_IN_ALL
AdwAnimationTarget *adw_callback_animation_target_new (AdwAnimationTargetFunc callback,
gpointer user_data,
- GDestroyNotify destroy);
+ GDestroyNotify destroy)
G_GNUC_WARN_UNUSED_RESULT;
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]