summaryrefslogtreecommitdiffstats
path: root/8.patch
blob: 36982257bab5fb71d57c7940eec246808f46d1a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From 27be3998138c6680abf01eb4d61db5bbe5e94b62 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Mon, 11 Jun 2018 13:39:43 +0200
Subject: [PATCH] Fix src/display/gspinner.c:69:2: warning: missing sentinel in
 function call [-Wformat=]

---
 src/display/gspinner.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/display/gspinner.c b/src/display/gspinner.c
index f340eb3..c5b5df7 100755
--- a/src/display/gspinner.c
+++ b/src/display/gspinner.c
@@ -66,7 +66,7 @@ PHP_METHOD(GSpinner, isActive){
 	this = Z_GWIDGET_P(getThis());
 	GValue tmp = G_VALUE_INIT;
 	g_value_init (&tmp, G_TYPE_BOOLEAN);
-	g_object_get(G_OBJECT(this->widget_ptr->intern),"active", &tmp);
+	g_object_get(G_OBJECT(this->widget_ptr->intern), "active", &tmp, NULL);
 	RETURN_BOOL(g_value_get_boolean(&tmp));
 }