[gnome-games] aisleriot: Fix the build with clutter 1.2



commit 3a93dbb306afede15414fe6c297e33b4974d7b52
Author: Christian Persch <chpe gnome org>
Date:   Thu Mar 4 19:06:23 2010 +0100

    aisleriot: Fix the build with clutter 1.2

 aisleriot/lib/ar-card-textures-cache.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/aisleriot/lib/ar-card-textures-cache.c b/aisleriot/lib/ar-card-textures-cache.c
index 48c6fd5..b4bea44 100644
--- a/aisleriot/lib/ar-card-textures-cache.c
+++ b/aisleriot/lib/ar-card-textures-cache.c
@@ -20,6 +20,7 @@
 
 #include <glib-object.h>
 #include <gtk/gtk.h>
+
 #include <cogl/cogl.h>
 
 #include <libgames-support/games-debug.h>
@@ -84,7 +85,7 @@ ar_card_textures_cache_clear (ArCardTexturesCache *cache)
 
     if (handle != COGL_INVALID_HANDLE &&
         !IS_FAILED_HANDLE (handle)) {
-      cogl_texture_unref (handle);
+      cogl_handle_unref (handle);
     }
 
     priv->cards[i] = COGL_INVALID_HANDLE;



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