diff options
author | Benjamin Otte <otte@redhat.com> | 2015-05-28 16:54:03 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-05-28 16:54:03 +0200 |
commit | 9df707da223f081475737829b2fadc253fead9ee (patch) | |
tree | 21dc42bf71a8bb8b18552835d79da8828cf50f1f /gtk/gtkmodules.c | |
parent | d921a4fe84eb81d2ef8014fa21bc8f7c8cf2a6fd (diff) | |
download | gtk+-9df707da223f081475737829b2fadc253fead9ee.tar.gz |
gtk: Add deprecation guards for newest pango deprecations
Diffstat (limited to 'gtk/gtkmodules.c')
-rw-r--r-- | gtk/gtkmodules.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkmodules.c b/gtk/gtkmodules.c index 640be7bb55..1af2c1dfe5 100644 --- a/gtk/gtkmodules.c +++ b/gtk/gtkmodules.c @@ -77,7 +77,9 @@ get_module_path (void) g_free (default_dir); +G_GNUC_BEGIN_IGNORE_DEPRECATIONS result = pango_split_file_list (module_path); +G_GNUC_END_IGNORE_DEPRECATIONS g_free (module_path); return result; @@ -417,7 +419,9 @@ load_modules (const char *module_str) GTK_NOTE (MODULES, g_print ("Loading module list: %s\n", module_str)); +G_GNUC_BEGIN_IGNORE_DEPRECATIONS module_names = pango_split_file_list (module_str); +G_GNUC_END_IGNORE_DEPRECATIONS for (i = 0; module_names[i]; i++) module_list = load_module (module_list, module_names[i]); |