[gnome-games] mahjongg: replace deprecated gdk_pixbuf_unref



commit 710658f577fca7f774b2a2ca865754f84c4ebc47
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date:   Mon Dec 6 18:47:01 2010 +0100

    mahjongg: replace deprecated gdk_pixbuf_unref

 mahjongg/drawing.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mahjongg/drawing.c b/mahjongg/drawing.c
index 0922039..8cc77ec 100644
--- a/mahjongg/drawing.c
+++ b/mahjongg/drawing.c
@@ -287,7 +287,7 @@ recreate_tile_images (void)
 
   if (tilepreimage) {
     if (tileimages)
-       gdk_pixbuf_unref (tileimages);
+       g_object_unref (tileimages);
     tileimages = games_preimage_render (tilepreimage, tilewidth * NUM_PATTERNS,
                                         tileheight * 2);
 



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