[libhandy/wip/haecker-felix/flap-widget: 69/98] sanitize boolean
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libhandy/wip/haecker-felix/flap-widget: 69/98] sanitize boolean
- Date: Mon, 3 Aug 2020 16:27:55 +0000 (UTC)
commit 877e8d3de178b91b447e269719c5c26737f9e426
Author: Felix Häcker <haeckerfelix gnome org>
Date: Mon Jul 27 15:02:51 2020 +0200
sanitize boolean
src/hdy-flap.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/hdy-flap.c b/src/hdy-flap.c
index 7384643d..e67e0df5 100644
--- a/src/hdy-flap.c
+++ b/src/hdy-flap.c
@@ -500,6 +500,7 @@ hdy_flap_set_reveal_flap (HdyFlap *self,
gboolean reveal_flap)
{
g_return_if_fail (HDY_IS_FLAP (self));
+ reveal_flap = !!reveal_flap;
if (self->reveal_flap == reveal_flap)
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]