diff options
author | Stef Walter <stefw@gnome.org> | 2012-10-22 20:50:48 +0200 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2012-10-22 20:50:48 +0200 |
commit | 24cc1e118f34c8d90e05e9a6a9762de5c0415328 (patch) | |
tree | eced85b74e0da6fcc57020c763cd174728acf0e2 /tool | |
parent | 791b0c0b4d07d5120d08427a6d7ec94c5f4db813 (diff) | |
download | libsecret-24cc1e118f34c8d90e05e9a6a9762de5c0415328.tar.gz |
Fix for glib deprecations
* g_type_init() was deprecated in glib 2.35.0
Diffstat (limited to 'tool')
-rw-r--r-- | tool/secret-tool.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/secret-tool.c b/tool/secret-tool.c index 533647f..9f88ef5 100644 --- a/tool/secret-tool.c +++ b/tool/secret-tool.c @@ -345,7 +345,9 @@ main (int argc, textdomain (GETTEXT_PACKAGE); #endif +#if !GLIB_CHECK_VERSION(2,35,0) g_type_init (); +#endif if (argc < 2) usage(); |