[gimp/metadata-browser] app: #undef G_DISABLE_DEPRECATED where GStaticMutex is used



commit 2a7bd0c6db58cfa2ab1bc6614bff7442a717bf5f
Author: Michael Natterer <mitch gimp org>
Date:   Wed Sep 28 23:27:49 2011 +0200

    app: #undef G_DISABLE_DEPRECATED where GStaticMutex is used
    
    because it's deprecated in GLib 2.30.

 app/base/gimphistogram.c         |    1 +
 app/gegl/gimpoperationtilesink.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/base/gimphistogram.c b/app/base/gimphistogram.c
index 60f53e9..ac6f24a 100644
--- a/app/base/gimphistogram.c
+++ b/app/base/gimphistogram.c
@@ -21,6 +21,7 @@
 
 #include <string.h>
 
+#undef G_DISABLE_DEPRECATED /* GStaticMutex */
 #include <glib-object.h>
 
 #include "libgimpmath/gimpmath.h"
diff --git a/app/gegl/gimpoperationtilesink.c b/app/gegl/gimpoperationtilesink.c
index 7ea21fc..2762fd6 100644
--- a/app/gegl/gimpoperationtilesink.c
+++ b/app/gegl/gimpoperationtilesink.c
@@ -22,6 +22,7 @@
 
 #include <string.h>
 
+#undef G_DISABLE_DEPRECATED /* GStaticMutex */
 #include <gegl.h>
 #include <gegl-buffer.h>
 



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