[gnome-desktop] Fix build with GNOME_DISABLE_DEPRECATED



commit b0ceb791fecc07aa0a77fd641fc5d7357368aaba
Author: Vincent Untz <vuntz gnome org>
Date:   Thu Mar 4 16:43:36 2010 +0100

    Fix build with GNOME_DISABLE_DEPRECATED
    
    We need to undefine GNOME_DISABLE_DEPRECATED in gnome-rr.c to make sure
    all definitions of functions in gnome-rr.h are seen.

 libgnome-desktop/gnome-rr.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libgnome-desktop/gnome-rr.c b/libgnome-desktop/gnome-rr.c
index a4559f9..1ef9c3c 100644
--- a/libgnome-desktop/gnome-rr.c
+++ b/libgnome-desktop/gnome-rr.c
@@ -26,7 +26,6 @@
 
 #include <config.h>
 #include <glib/gi18n-lib.h>
-#include "libgnomeui/gnome-rr.h"
 #include <string.h>
 #include <X11/Xlib.h>
 
@@ -38,6 +37,9 @@
 #include <gdk/gdkx.h>
 #include <X11/Xatom.h>
 
+#undef GNOME_DISABLE_DEPRECATED
+#include "libgnomeui/gnome-rr.h"
+
 #include "private.h"
 #include "gnome-rr-private.h"
 



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