summaryrefslogtreecommitdiffstats
path: root/8.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-06-11 15:01:31 +0200
committerRemi Collet <remi@remirepo.net>2018-06-11 15:01:31 +0200
commit2a395f3465760fbad4dd6fed3de7bcc8d247d89c (patch)
tree50007b563335f10573fc70896d0c3d2b107ba744 /8.patch
new package, version 0.3.0
open https://github.com/Letargie/pggi/pull/8 [-Wformat=] open https://github.com/Letargie/pggi/pull/9 [-Wimplicit-function-declaration] open https://github.com/Letargie/pggi/pull/11 [-Werror=format-security]
Diffstat (limited to '8.patch')
-rw-r--r--8.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/8.patch b/8.patch
new file mode 100644
index 0000000..3698225
--- /dev/null
+++ b/8.patch
@@ -0,0 +1,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));
+ }
+