[gnome-games/gnibbles-clutter: 255/255] Updated to clutter-1.0 ...



commit 18e94b838b0cfbef5f32ff4dfbb33c0dd4c5e33c
Author: Guillaume Beland <guillaume beland gmail com>
Date:   Mon Aug 3 15:31:08 2009 -0400

    Updated to clutter-1.0 ...
    
    and now everything seems broken again, getting a lot of 'clutter_id_pool_lookup
    assertion id <id_pool->arrey->len failed'

 gnibbles/bonus.c        |    3 ++-
 gnibbles/warp.c         |    3 ++-
 gnibbles/worm-clutter.c |    3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/gnibbles/bonus.c b/gnibbles/bonus.c
index 7ccbf77..606fe34 100644
--- a/gnibbles/bonus.c
+++ b/gnibbles/bonus.c
@@ -77,7 +77,8 @@ gnibbles_bonus_draw (GnibblesBonus *bonus)
                               bonus->y * properties->tilesize);
 
   gtk_clutter_texture_set_from_pixbuf (CLUTTER_TEXTURE (bonus->actor),
-                                       boni_pixmaps[bonus->type]);
+                                       boni_pixmaps[bonus->type],
+                                       NULL);
 
   clutter_container_add_actor (CLUTTER_CONTAINER (board->stage), bonus->actor);
 
diff --git a/gnibbles/warp.c b/gnibbles/warp.c
index f689f84..bccdd37 100644
--- a/gnibbles/warp.c
+++ b/gnibbles/warp.c
@@ -53,7 +53,8 @@ void
 gnibbles_warp_draw (GnibblesWarp *warp)
 {
   gtk_clutter_texture_set_from_pixbuf (CLUTTER_TEXTURE (warp->actor),
-                                      boni_pixmaps[WARP]) ;
+                                      boni_pixmaps[WARP],
+                                      NULL);
   clutter_actor_set_position (CLUTTER_ACTOR (warp->actor),
                               properties->tilesize * warp->x,
                               properties->tilesize * warp->y);
diff --git a/gnibbles/worm-clutter.c b/gnibbles/worm-clutter.c
index 0774ccf..7913aa9 100644
--- a/gnibbles/worm-clutter.c
+++ b/gnibbles/worm-clutter.c
@@ -710,7 +710,8 @@ gnibbles_worm_resize (GnibblesWorm *worm, gint newtile)
       clutter_actor_set_size (tmp, newtile, newtile * size);
 
     gtk_clutter_texture_set_from_pixbuf (CLUTTER_TEXTURE (tmp), 
-                                         worm_pixmaps[worm->number]);
+                                         worm_pixmaps[worm->number],
+                                         NULL);
   }
 }
 



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