[aravis] viewer: avoid warning on deprecated g_thread_init use.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aravis] viewer: avoid warning on deprecated g_thread_init use.
- Date: Sun, 28 Apr 2013 15:12:18 +0000 (UTC)
commit 223d98b86fceacc61d32cba535d323de4a153bd1
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Sun Apr 28 17:11:55 2013 +0200
viewer: avoid warning on deprecated g_thread_init use.
viewer/arvviewer.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/viewer/arvviewer.c b/viewer/arvviewer.c
index 0c8a1af..636504b 100644
--- a/viewer/arvviewer.c
+++ b/viewer/arvviewer.c
@@ -20,8 +20,6 @@
* Author: Emmanuel Pacaud <emmanuel gnome org>
*/
-#define GLIB_DISABLE_DEPRECATION_WARNINGS
-
#include <arvconfig.h>
#include <gtk/gtk.h>
#include <gst/gst.h>
@@ -830,7 +828,7 @@ main (int argc,char *argv[])
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
- g_thread_init (NULL);
+ arv_g_thread_init (NULL);
context = g_option_context_new (NULL);
g_option_context_add_main_entries (context, arv_viewer_option_entries, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]