[grilo] core: g_type_init() is deprecated
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] core: g_type_init() is deprecated
- Date: Fri, 19 Oct 2012 10:47:16 +0000 (UTC)
commit 751a7a2cde3ea007bd2871aef2e0005e551ab485
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Fri Oct 19 10:01:02 2012 +0000
core: g_type_init() is deprecated
For glib >= 2.35.0.
src/grilo.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/grilo.c b/src/grilo.c
index 2a05fe9..7bea0ee 100644
--- a/src/grilo.c
+++ b/src/grilo.c
@@ -89,7 +89,9 @@ grl_init (gint *argc,
return;
}
+#if !GLIB_CHECK_VERSION(2,35,0)
g_type_init ();
+#endif
/* Initialize operations */
grl_operation_init ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]