[aravis] gv_stream: avoid warnings on deprecated g_thread API.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aravis] gv_stream: avoid warnings on deprecated g_thread API.
- Date: Sun, 28 Apr 2013 15:11:20 +0000 (UTC)
commit db207e8c1fb89ef54671b6ad6c789e0a9e2867fb
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Sun Apr 28 17:10:02 2013 +0200
gv_stream: avoid warnings on deprecated g_thread API.
src/arvgvstream.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/arvgvstream.c b/src/arvgvstream.c
index b295c7d..19d9bab 100644
--- a/src/arvgvstream.c
+++ b/src/arvgvstream.c
@@ -20,8 +20,6 @@
* Author: Emmanuel Pacaud <emmanuel gnome org>
*/
-#define GLIB_DISABLE_DEPRECATION_WARNINGS
-
/**
* SECTION: arvgvstream
* @short_description: Gigabit ethernet camera stream
@@ -780,7 +778,7 @@ arv_gv_stream_new (GInetAddress *device_address, guint16 port,
gv_stream->thread_data = thread_data;
- gv_stream->thread = g_thread_create (arv_gv_stream_thread, gv_stream->thread_data, TRUE, NULL);
+ gv_stream->thread = arv_g_thread_new ("arv_gv_stream", arv_gv_stream_thread, gv_stream->thread_data);
return ARV_STREAM (gv_stream);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]