[gtk+/client-side-decorations] Build fixes



commit 6f0843294259f71790edc9d4fb3f72f5fb2d2aa6
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jul 8 21:45:49 2009 -0400

    Build fixes
    
    Some build fixes from master.

 gdk/gdkoffscreenwindow.c |    2 +-
 gdk/gdkwindow.h          |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/gdkoffscreenwindow.c b/gdk/gdkoffscreenwindow.c
index 03d8fe0..f14f831 100644
--- a/gdk/gdkoffscreenwindow.c
+++ b/gdk/gdkoffscreenwindow.c
@@ -94,7 +94,7 @@ gdk_offscreen_window_finalize (GObject *object)
 
   offscreen->cursor = NULL;
 
-  gdk_pixmap_unref (offscreen->pixmap);
+  g_object_unref (offscreen->pixmap);
 
   G_OBJECT_CLASS (gdk_offscreen_window_parent_class)->finalize (object);
 }
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]