[gcompris/gcomprixogoo] Pass NULL as last goo_canvas_image_new's argument



commit d44fe82a5ebd34498392c599513c3e0b16e3e7f8
Author: Aleksey Lim <alsroot member fsf org>
Date:   Wed Jun 23 05:22:12 2010 +0000

    Pass NULL as last goo_canvas_image_new's argument

 src/gcompris/about.c |    6 ++++--
 src/gcompris/timer.c |    3 ++-
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/src/gcompris/about.c b/src/gcompris/about.c
index df3ffbd..c756195 100644
--- a/src/gcompris/about.c
+++ b/src/gcompris/about.c
@@ -164,7 +164,8 @@ void gc_about_start ()
       item = goo_canvas_image_new (rootitem,
 				   pixmap,
 				   (gdouble) (BOARDWIDTH*0.75) - gdk_pixbuf_get_width(pixmap)/2,
-				   (gdouble) y_start - gdk_pixbuf_get_height(pixmap) + 15);
+				   (gdouble) y_start - gdk_pixbuf_get_height(pixmap) + 15,
+                   NULL);
 
       gdk_pixbuf_unref(pixmap);
       g_free(sponsor_image);
@@ -176,7 +177,8 @@ void gc_about_start ()
       item = goo_canvas_image_new (rootitem,
 				   pixmap,
 				   (gdouble) (BOARDWIDTH*0.8) - gdk_pixbuf_get_width(pixmap)/2,
-				   (gdouble) y_start - gdk_pixbuf_get_height(pixmap)/2);
+				   (gdouble) y_start - gdk_pixbuf_get_height(pixmap)/2,
+                   NULL);
       gdk_pixbuf_unref(pixmap);
 
       item = goo_canvas_text_new (rootitem,
diff --git a/src/gcompris/timer.c b/src/gcompris/timer.c
index 50c7267..5082a30 100644
--- a/src/gcompris/timer.c
+++ b/src/gcompris/timer.c
@@ -87,7 +87,8 @@ gc_timer_display(int ax, int ay,
 	gc_timer_item = goo_canvas_image_new (boardRootItem,
 					      pixmap,
 					      x,
-					      y);
+					      y,
+                          NULL);
 
 	gdk_pixbuf_unref(pixmap);
 	g_free(filename);



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