aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2014-11-03 12:45:31 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2014-11-03 12:45:31 +0100
commit4739ebb61fe0774eabce2eeea74c84912654812c (patch)
treee84739557e33c9b495428275db406ead94d55fee /src
parent1261f34c8ec98769224c18fd9d18516d5180018f (diff)
downloadremote-logon-service-4739ebb61fe0774eabce2eeea74c84912654812c.tar.gz
remote-logon-service-4739ebb61fe0774eabce2eeea74c84912654812c.tar.bz2
remote-logon-service-4739ebb61fe0774eabce2eeea74c84912654812c.zip
Apply patch glib-deprecated.diff. Provide support for old GLib versions.
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index b6d56d4..c4801ba 100644
--- a/src/main.c
+++ b/src/main.c
@@ -387,8 +387,10 @@ main (int argc, char * argv[])
{
GError * error = NULL;
+#if !GLIB_CHECK_VERSION (2, 35, 1)
/* Init the GTypes */
g_type_init();
+#endif
/* Setup i18n */
setlocale (LC_ALL, "");