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:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user