diff options
author | Stefano Karapetsas <[email protected]> | 2013-10-28 11:17:47 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-10-28 11:17:47 +0100 |
commit | 5e27c642d0f755771873254c936261126d20deb8 (patch) | |
tree | af5cef47a365ff24778f347b5b6ca63a43f18918 /src/mate-calc.c | |
parent | 686ef72ea7b93f38623a3978a9bccb879b8565b4 (diff) | |
download | mate-calc-5e27c642d0f755771873254c936261126d20deb8.tar.bz2 mate-calc-5e27c642d0f755771873254c936261126d20deb8.tar.xz |
Fix g_type_init deprecations
Diffstat (limited to 'src/mate-calc.c')
-rw-r--r-- | src/mate-calc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mate-calc.c b/src/mate-calc.c index 39c7f23..0094be8 100644 --- a/src/mate-calc.c +++ b/src/mate-calc.c @@ -189,7 +189,9 @@ int main(int argc, char **argv) gchar *source_currency, *target_currency; gchar *source_units, *target_units; +#if !GLIB_CHECK_VERSION (2, 36, 0) g_type_init(); +#endif setlocale(LC_ALL, ""); bindtextdomain(GETTEXT_PACKAGE, LOCALE_DIR); |