diff options
author | Patrick Griffis <tingping@tingping.se> | 2017-06-15 00:14:30 -0400 |
---|---|---|
committer | Patrick Griffis <tingping@tingping.se> | 2017-06-15 00:14:30 -0400 |
commit | 27fd9b3fd6972cc8b3de524bd5f88628fdc4250c (patch) | |
tree | 0d09840aac3cd544427712f1d2ae7fafb7a15d7a | |
parent | f8467473ddae4060eea0f024be1d4ee07904bee2 (diff) |
Hide false-positive deprecated warning
-rw-r--r-- | plugins/fishlim/keystore.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/fishlim/keystore.c b/plugins/fishlim/keystore.c index 6bb04ea6..061faa03 100644 --- a/plugins/fishlim/keystore.c +++ b/plugins/fishlim/keystore.c @@ -177,7 +177,9 @@ static gboolean save_keystore(GKeyFile *keyfile) { #if !GLIB_CHECK_VERSION(2,40,0) ok = keyfile_save_to_file (keyfile, filename); #else +G_GNUC_BEGIN_IGNORE_DEPRECATIONS /* Hide false positive */ ok = g_key_file_save_to_file (keyfile, filename, NULL); +G_GNUC_END_IGNORE_DEPRECATIONS #endif g_free (filename); |