[gimp] plug-ins: #undef GDK_DISABLE_DEPRECATED so we are 64 bit safe



commit 83bbb67781d098618417938a3cda0e87220f53a2
Author: Michael Natterer <mitch gimp org>
Date:   Thu Apr 14 21:16:40 2011 +0200

    plug-ins: #undef GDK_DISABLE_DEPRECATED so we are 64 bit safe
    
    will revert after 2.7.2 so we see the warnings again.

 plug-ins/common/animation-play.c |    1 +
 plug-ins/gfig/gfig-arc.c         |    1 +
 plug-ins/gfig/gfig-circle.c      |    1 +
 plug-ins/gfig/gfig-dialog.c      |    1 +
 plug-ins/gfig/gfig-ellipse.c     |    1 +
 plug-ins/gfig/gfig-grid.c        |    2 ++
 plug-ins/gfig/gfig-line.c        |    1 +
 plug-ins/gfig/gfig-preview.c     |    1 +
 plug-ins/gfig/gfig-rectangle.c   |    1 +
 9 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/common/animation-play.c b/plug-ins/common/animation-play.c
index 36603d6..2c0940b 100644
--- a/plug-ins/common/animation-play.c
+++ b/plug-ins/common/animation-play.c
@@ -36,6 +36,7 @@
 #include <string.h>
 
 #include <libgimp/gimp.h>
+#undef GDK_DISABLE_DEPRECATED
 #include <libgimp/gimpui.h>
 
 #include "libgimp/stdplugins-intl.h"
diff --git a/plug-ins/gfig/gfig-arc.c b/plug-ins/gfig/gfig-arc.c
index ed74fd1..ce27faf 100644
--- a/plug-ins/gfig/gfig-arc.c
+++ b/plug-ins/gfig/gfig-arc.c
@@ -27,6 +27,7 @@
 #include <math.h>
 #include <stdlib.h>
 
+#undef GDK_DISABLE_DEPRECATED
 #include <gtk/gtk.h>
 
 #include <libgimp/gimp.h>
diff --git a/plug-ins/gfig/gfig-circle.c b/plug-ins/gfig/gfig-circle.c
index c680d36..f21dcb2 100644
--- a/plug-ins/gfig/gfig-circle.c
+++ b/plug-ins/gfig/gfig-circle.c
@@ -25,6 +25,7 @@
 #include "config.h"
 
 #include <libgimp/gimp.h>
+#undef GDK_DISABLE_DEPRECATED
 #include <libgimp/gimpui.h>
 
 #include "gfig.h"
diff --git a/plug-ins/gfig/gfig-dialog.c b/plug-ins/gfig/gfig-dialog.c
index 802ac1d..2359c09 100644
--- a/plug-ins/gfig/gfig-dialog.c
+++ b/plug-ins/gfig/gfig-dialog.c
@@ -38,6 +38,7 @@
 #endif
 
 #include <libgimp/gimp.h>
+#undef GDK_DISABLE_DEPRECATED
 #include <libgimp/gimpui.h>
 
 #include "libgimp/stdplugins-intl.h"
diff --git a/plug-ins/gfig/gfig-ellipse.c b/plug-ins/gfig/gfig-ellipse.c
index 41e2af5..65584ee 100644
--- a/plug-ins/gfig/gfig-ellipse.c
+++ b/plug-ins/gfig/gfig-ellipse.c
@@ -27,6 +27,7 @@
 #include <stdlib.h>
 
 #include <libgimp/gimp.h>
+#undef GDK_DISABLE_DEPRECATED
 #include <libgimp/gimpui.h>
 
 #include "gfig.h"
diff --git a/plug-ins/gfig/gfig-grid.c b/plug-ins/gfig/gfig-grid.c
index 4625a10..8486c99 100644
--- a/plug-ins/gfig/gfig-grid.c
+++ b/plug-ins/gfig/gfig-grid.c
@@ -26,6 +26,8 @@
 #include <stdlib.h>
 
 #include <libgimp/gimp.h>
+#undef GDK_DISABLE_DEPRECATED
+#include <libgimp/gimpui.h>
 
 #include "gfig.h"
 #include "gfig-grid.h"
diff --git a/plug-ins/gfig/gfig-line.c b/plug-ins/gfig/gfig-line.c
index 1e2d2a4..4a8970c 100644
--- a/plug-ins/gfig/gfig-line.c
+++ b/plug-ins/gfig/gfig-line.c
@@ -25,6 +25,7 @@
 #include "config.h"
 
 #include <libgimp/gimp.h>
+#undef GDK_DISABLE_DEPRECATED
 #include <libgimp/gimpui.h>
 
 #include "gfig.h"
diff --git a/plug-ins/gfig/gfig-preview.c b/plug-ins/gfig/gfig-preview.c
index 60d5dfe..4c25243 100644
--- a/plug-ins/gfig/gfig-preview.c
+++ b/plug-ins/gfig/gfig-preview.c
@@ -24,6 +24,7 @@
 #include "config.h"
 
 #include <libgimp/gimp.h>
+#undef GDK_DISABLE_DEPRECATED
 #include <libgimp/gimpui.h>
 
 #include "gfig.h"
diff --git a/plug-ins/gfig/gfig-rectangle.c b/plug-ins/gfig/gfig-rectangle.c
index 17a5fe9..6559086 100644
--- a/plug-ins/gfig/gfig-rectangle.c
+++ b/plug-ins/gfig/gfig-rectangle.c
@@ -25,6 +25,7 @@
 #include "config.h"
 
 #include <libgimp/gimp.h>
+#undef GDK_DISABLE_DEPRECATED
 #include <libgimp/gimpui.h>
 
 #include "gfig.h"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]