projects
/
profile
/
ivi
/
speech-recognition.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bad589a
)
daemon: get rid of deprecated g_type_init warning.
author
Krisztian Litkey
<kli@iki.fi>
Fri, 11 Oct 2013 15:37:35 +0000
(18:37 +0300)
committer
Krisztian Litkey
<kli@iki.fi>
Fri, 10 Jan 2014 15:07:35 +0000
(17:07 +0200)
src/daemon/daemon.c
patch
|
blob
|
history
diff --git
a/src/daemon/daemon.c
b/src/daemon/daemon.c
index
80ec4e3
..
e9d2133
100644
(file)
--- a/
src/daemon/daemon.c
+++ b/
src/daemon/daemon.c
@@
-108,7
+108,9
@@
static void create_mainloop(srs_context_t *srs)
if (srs_get_bool_config(srs->settings, "gmainloop", FALSE)) {
mrp_log_info("Configured to run with glib mainloop.");
+#ifndef GLIB_VERSION_2_36
g_type_init();
+#endif
srs->gl = g_main_loop_new(NULL, FALSE);
if (srs->gl == NULL) {