]> err.no Git - libchamplain/commitdiff
Bug 574167 – Callbacks of demos/launcher.c return no values
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Wed, 4 Mar 2009 20:46:36 +0000 (22:46 +0200)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Wed, 4 Mar 2009 20:46:36 +0000 (22:46 +0200)
demos/launcher.c

index 37afa6a9fbc4fbfe0c0f08c40f4df44536c0ff87..315f061a7efae7668a9daa9c151a857ecde631b6 100644 (file)
@@ -26,7 +26,7 @@ map_view_button_release_cb (ClutterActor *actor,
   gdouble lat, lon;
 
   if (event->button != 1 || event->click_count > 1)
-    return;
+    return FALSE;
 
   g_print("Map was clicked at ");
   if (champlain_view_get_coords_from_event (view, (ClutterEvent*)event, &lat,
@@ -42,7 +42,7 @@ marker_button_release_cb (ClutterActor *actor,
                           ChamplainView * view)
 {
   if (event->button != 1 || event->click_count > 1)
-    return;
+    return FALSE;
 
   g_print("Montreal was clicked\n");