[buoh/cleanups: 26/31] view: fix warning



commit bdcf34b956b1207b5c09928154257a53266ee844
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]