[buoh/cleanups: 1/2] view: fix warning
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [buoh/cleanups: 1/2] view: fix warning
- Date: Tue, 22 Jan 2019 08:14:07 +0000 (UTC)
commit b5484b1191f827d7bd556f7b4cfad270dd9f9e48
Author: Jan Tojnar <jtojnar gmail com>
Date: Tue Jan 22 08:09:07 2019 +0100
view: fix warning
../src/buoh-view.c: In function ‘buoh_view_class_init’:
../src/buoh-view.c:176:31: warning: passing argument 4 of ‘g_signal_new’ makes integer from pointer
without a cast [-Wint-conversion]
NULL,
^~~~
src/buoh-view.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/buoh-view.c b/src/buoh-view.c
index 414fa01..bf51da7 100644
--- a/src/buoh-view.c
+++ b/src/buoh-view.c
@@ -173,7 +173,7 @@ buoh_view_class_init (BuohViewClass *klass)
g_signal_new ("scale-changed",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
- NULL,
+ 0,
NULL,
NULL,
g_cclosure_marshal_VOID__VOID,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]