[aravis] Revert "build: avoid use of deprecated GSignalFlags"
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aravis] Revert "build: avoid use of deprecated GSignalFlags"
- Date: Fri, 15 Aug 2014 19:27:26 +0000 (UTC)
commit 64f3560d20235ddd8ff2415971cd1df3a85b6abf
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Fri Aug 15 21:25:12 2014 +0200
Revert "build: avoid use of deprecated GSignalFlags"
This reverts commit 8b056dd432f830c9fdb84b90ab69c0ff3ccf4d4c.
This patch make ref count warnings appear.
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 c5626a8..99a6245 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),
- 0,
+ G_SIGNAL_RUN_LAST,
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 c29669c..58ef10e 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),
- 0,
+ G_SIGNAL_RUN_LAST,
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]