[libadwaita/wip/exalm/warnings: 2/2] Fix 2 animation build warnings




commit 9f176be204f9ccdb44c47e3c1f0990f18f970cf6
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Jul 29 18:25:18 2021 +0500

    Fix 2 animation build warnings

 src/adw-animation-util.c | 2 +-
 src/adw-view-stack.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/adw-animation-util.c b/src/adw-animation-util.c
index 0bae848c..8228249a 100644
--- a/src/adw-animation-util.c
+++ b/src/adw-animation-util.c
@@ -86,7 +86,7 @@ adw_get_enable_animations (GtkWidget *widget)
 {
   gboolean enable_animations = TRUE;
 
-  g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL);
+  g_return_val_if_fail (GTK_IS_WIDGET (widget), FALSE);
 
   g_object_get (gtk_widget_get_settings (widget),
                 "gtk-enable-animations", &enable_animations,
diff --git a/src/adw-view-stack.c b/src/adw-view-stack.c
index 56a4e3b8..a38f7335 100644
--- a/src/adw-view-stack.c
+++ b/src/adw-view-stack.c
@@ -15,7 +15,7 @@
 #include "adw-view-stack.h"
 
 #include "gtkprogresstrackerprivate.h"
-#include "adw-animation-private.h"
+#include "adw-animation-util-private.h"
 #include "adw-enums.h"
 #include "adw-focus-private.h"
 #include "adw-gizmo-private.h"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]