plug-ins: #undef G_DISABLE_DEPRECATED for webkit and rsvg

because they use G_CONST_RETURN which is deprecated in glib master.
This commit is contained in:
Michael Natterer
2011-06-21 22:13:58 +02:00
parent dd0042f76b
commit 8ed5002e4a
3 changed files with 3 additions and 0 deletions

View File

@ -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 */

View File

@ -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>

View File

@ -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>