[gcompris-devel] [PATCH] Pass NULL as last goo_canvas_image_new's argument

Aleksey Lim alsroot at member.fsf.org
Wed Jun 23 05:22:12 UTC 2010


---
 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 d17f560..e4e5648 100644
--- a/src/gcompris/about.c
+++ b/src/gcompris/about.c
@@ -168,7 +168,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);
@@ -180,7 +181,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);
-- 
1.7.0.4





More information about the Gcompris-devel mailing list