[libadwaita/wip/exalm/warnings] Fix 2 animation build warnings
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/warnings] Fix 2 animation build warnings
- Date: Thu, 29 Jul 2021 13:26:58 +0000 (UTC)
commit ea9e859bb053687a8a450d4393c230df75207edb
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]