Commit 8ed5002e authored by Michael Natterer's avatar Michael Natterer 😴
Browse files

plug-ins: #undef G_DISABLE_DEPRECATED for webkit and rsvg

because they use G_CONST_RETURN which is deprecated in glib master.
parent dd0042f7
......@@ -26,6 +26,7 @@
#include <stdlib.h>
#include <string.h>
#undef G_DISABLE_DEPRECATED /* for G_CONST_RETURN used by rsvg */
#include <librsvg/rsvg.h>
#include <librsvg/librsvg-features.h> /* for version check */
......
......@@ -23,6 +23,7 @@
#include "config.h"
#undef G_DISABLE_DEPRECATED /* for G_CONST_RETURN used by webkit */
#include <libgimp/gimp.h>
#include <libgimp/gimpui.h>
......
......@@ -27,6 +27,7 @@
#include <stdlib.h>
#include <string.h>
#undef G_DISABLE_DEPRECATED /* for G_CONST_RETURN used by webkit */
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment