[aravis] build: avoid use of deprecated GSignalFlags



commit 8b056dd432f830c9fdb84b90ab69c0ff3ccf4d4c
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Fri Aug 15 17:41:38 2014 +0200

    build: avoid use of deprecated GSignalFlags

 src/arvdevice.c |    2 +-
 src/arvstream.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/arvdevice.c b/src/arvdevice.c
index 99a6245..c5626a8 100644
--- a/src/arvdevice.c
+++ b/src/arvdevice.c
@@ -668,7 +668,7 @@ arv_device_class_init (ArvDeviceClass *device_class)
        arv_device_signals[ARV_DEVICE_SIGNAL_CONTROL_LOST] =
                g_signal_new ("control-lost",
                              G_TYPE_FROM_CLASS (device_class),
-                             G_SIGNAL_RUN_LAST,
+                             0,
                              G_STRUCT_OFFSET (ArvDeviceClass, control_lost),
                              NULL, NULL,
                              g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0, G_TYPE_NONE);
diff --git a/src/arvstream.c b/src/arvstream.c
index 58ef10e..c29669c 100644
--- a/src/arvstream.c
+++ b/src/arvstream.c
@@ -390,7 +390,7 @@ arv_stream_class_init (ArvStreamClass *node_class)
        arv_stream_signals[ARV_STREAM_SIGNAL_NEW_BUFFER] =
                g_signal_new ("new-buffer",
                              G_TYPE_FROM_CLASS (node_class),
-                             G_SIGNAL_RUN_LAST,
+                             0,
                              G_STRUCT_OFFSET (ArvStreamClass, new_buffer),
                              NULL, NULL,
                              g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0, G_TYPE_NONE);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]