diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2013-11-13 21:40:58 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2013-11-13 21:40:58 +0100 |
commit | 81bb21fe5313463ac9896984cd71cfc3455379ee (patch) | |
tree | c83aef759bf48ceb1567810c7a059307f7455bee /external/rccexternal.c | |
parent | 2e1a735c1bb76094744a6112b092331e34c7db09 (diff) | |
download | librcc-81bb21fe5313463ac9896984cd71cfc3455379ee.tar.gz librcc-81bb21fe5313463ac9896984cd71cfc3455379ee.tar.bz2 librcc-81bb21fe5313463ac9896984cd71cfc3455379ee.tar.xz librcc-81bb21fe5313463ac9896984cd71cfc3455379ee.zip |
Avoid functions deprecated in glib 2.32
Diffstat (limited to 'external/rccexternal.c')
-rw-r--r-- | external/rccexternal.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/external/rccexternal.c b/external/rccexternal.c index 4e4fa77..eb6bbba 100644 --- a/external/rccexternal.c +++ b/external/rccexternal.c @@ -62,6 +62,8 @@ #include "../src/rccexternal.h" #include "rcclibtranslate.h" +#include "compat.h" + #define RCC_EXIT_CHECK_TIMEOUT 10 /* seconds */ @@ -170,7 +172,7 @@ int main() { info = (rcc_external_info)malloc(sizeof(rcc_external_info_s)); if (info) info->s = sd; else break; - if (g_thread_create(rccLibTranslate, info, FALSE, NULL)) continue; + if (g_thread_create_compat(rccLibTranslate, info, FALSE)) continue; break; } close(sd); |