Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Coudoin <bcoudoin@src.gnome.org>2002-01-21 20:28:52 (GMT)
committer Bruno Coudoin <bcoudoin@src.gnome.org>2002-01-21 20:28:52 (GMT)
commit8cb4277acdcfa3bc950d85520c2a798824a1df3d (patch)
tree109ca19ed403a5ab3603e4641e197dbe4ae56b35
parent860350fc5c0afaa72c58873fe8a45eb6e1f6a07c (diff)
fixed minor compile warningrel-1-0-0Pre2
-rw-r--r--src/boards/railroad.c2
-rw-r--r--src/boards/shapegame.c5
2 files changed, 4 insertions, 3 deletions
diff --git a/src/boards/railroad.c b/src/boards/railroad.c
index a04cb92..a47cbed 100644
--- a/src/boards/railroad.c
+++ b/src/boards/railroad.c
@@ -591,7 +591,7 @@ static gboolean animate_step() {
animation_count++;
if(!gcomprisBoard)
- return;
+ return FALSE;
if (animation_count < MODEL_PAUSE)
return TRUE;
diff --git a/src/boards/shapegame.c b/src/boards/shapegame.c
index dbfb1ec..fccb9e0 100644
--- a/src/boards/shapegame.c
+++ b/src/boards/shapegame.c
@@ -1,6 +1,6 @@
/* gcompris - shapegame.c
*
- * Time-stamp: <2002/01/13 23:45:09 bruno>
+ * Time-stamp: <2002/01/21 21:26:30 bruno>
*
* Copyright (C) 2000 Bruno Coudoin
*
@@ -113,6 +113,7 @@ static Shape *create_shape(ShapeType type, char *name, char *pixmapfile, GnomeC
char *targetfile, double x, double y, double l, double h, double zoomx,
double zoomy, guint position);
static void display_color_selector(GnomeCanvasGroup *parent);
+static gboolean increment_sublevel();
/* Description of this plugin */
BoardPlugin menu_bp =
@@ -838,7 +839,7 @@ item_event_edition(GnomeCanvasItem *item, GdkEvent *event, Shape *shape)
double item_x, item_y;
if(!gcomprisBoard)
- return;
+ return FALSE;
if(shape==NULL) {
g_warning("Shape is NULL : Should not happen");