[gtk+] Make gdk build with GDK_DISABLE_DEPRECATED



commit 872152d56b10e8c64753cb62b443fe003a0a5dc5
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jul 8 09:53:41 2009 -0400

    Make gdk build with GDK_DISABLE_DEPRECATED
    
    Turns out gdk_window_get_deskrelative_origin is now called in
    gdk as well.

 gdk/gdkwindow.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkwindow.h b/gdk/gdkwindow.h
index f93e2e3..a1d3184 100644
--- a/gdk/gdkwindow.h
+++ b/gdk/gdkwindow.h
@@ -537,7 +537,7 @@ void	      gdk_window_get_root_coords (GdkWindow	  *window,
 					  gint		  *root_x,
 					  gint		  *root_y);
 
-#if !defined (GDK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION)
+#if !defined (GDK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION) || defined (GDK_COMPILATION)
 /* Used by gtk_handle_box_button_changed () */
 gboolean      gdk_window_get_deskrelative_origin (GdkWindow	  *window,
 					  gint		  *x,



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