[libchamplain] Fix compilation warnings in demos
- From: Pierre-Luc Beaudoin <plbeaudoin src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libchamplain] Fix compilation warnings in demos
- Date: Wed, 26 Aug 2009 00:04:24 +0000 (UTC)
commit 8b5983e699eafc7d1fcd577989d02182476babed
Author: Pierre-Luc Beaudoin <pierre-luc pierlux com>
Date: Tue Aug 25 18:39:26 2009 -0400
Fix compilation warnings in demos
demos/launcher-gtk.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/demos/launcher-gtk.c b/demos/launcher-gtk.c
index 085fb25..0ff94ef 100644
--- a/demos/launcher-gtk.c
+++ b/demos/launcher-gtk.c
@@ -47,12 +47,12 @@ toggle_layer (GtkToggleButton *widget,
{
champlain_polygon_show (polygon);
- champlain_layer_animate_in_all_markers (layer);
+ champlain_layer_animate_in_all_markers (CHAMPLAIN_LAYER (layer));
}
else
{
champlain_polygon_hide (polygon);
- champlain_layer_animate_out_all_markers (layer);
+ champlain_layer_animate_out_all_markers (CHAMPLAIN_LAYER (layer));
}
}
@@ -215,7 +215,7 @@ main (int argc,
"zoom-level", 5, NULL);
layer = create_marker_layer (view);
champlain_view_add_layer(view, layer);
- champlain_layer_hide_all_markers (CLUTTER_ACTOR (layer));
+ champlain_layer_hide_all_markers (CHAMPLAIN_LAYER (layer));
polygon = champlain_polygon_new ();
/* Cheap approx of Highway 10 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]