diff options
author | Alan F <ajf@eth0.org.uk> | 2014-02-05 21:19:26 +0000 |
---|---|---|
committer | Alan F <ajf@eth0.org.uk> | 2014-02-05 21:19:26 +0000 |
commit | e46e6a8fd00505e23fe78847f8035497e9496ce7 (patch) | |
tree | 2cd9d54b7409c2acf781d89e023a0b0572acf363 /src | |
parent | 607de213ed43ce57c67c3ec995d4da2b02331baf (diff) |
don't use g_type_init on glib >= 2.36 as it's deprecated
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -175,7 +175,9 @@ int main(int argc, char *argv[]) gint exitCode = EXIT_SUCCESS; TrgClient *client; +#if !GLIB_CHECK_VERSION(2, 36, 0) g_type_init(); +#endif #if !GLIB_CHECK_VERSION(2, 32, 0) g_thread_init(NULL); |