diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2014-11-03 12:45:31 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2014-11-03 12:45:31 +0100 |
commit | 4739ebb61fe0774eabce2eeea74c84912654812c (patch) | |
tree | e84739557e33c9b495428275db406ead94d55fee /src | |
parent | 1261f34c8ec98769224c18fd9d18516d5180018f (diff) | |
download | remote-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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, ""); |