From 27fd9b3fd6972cc8b3de524bd5f88628fdc4250c Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Thu, 15 Jun 2017 00:14:30 -0400 Subject: Hide false-positive deprecated warning --- plugins/fishlim/keystore.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/fishlim/keystore.c') 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); -- cgit 1.4.1