From: Simon Wenner Date: Sat, 11 Apr 2009 22:55:33 +0000 (-0400) Subject: Partly fix Bug 577591: Adopt the new coding style for champlain-layer.c X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=263f726911450642b6e5e4ad5b2598685d72de2a;p=libchamplain Partly fix Bug 577591: Adopt the new coding style for champlain-layer.c --- diff --git a/champlain/champlain-layer.c b/champlain/champlain-layer.c index f3f3127..a993cc1 100644 --- a/champlain/champlain-layer.c +++ b/champlain/champlain-layer.c @@ -52,14 +52,15 @@ struct _ChamplainLayerPrivate { gpointer spacer; }; -static void layer_add_cb (ClutterGroup *layer, ClutterActor *marker, +static void layer_add_cb (ClutterGroup *layer, + ClutterActor *marker, gpointer data); static void champlain_layer_get_property (GObject *object, - guint property_id, - GValue *value, - GParamSpec *pspec) + guint property_id, + GValue *value, + GParamSpec *pspec) { //ChamplainLayer *self = CHAMPLAIN_LAYER (object); switch (property_id) @@ -71,9 +72,9 @@ champlain_layer_get_property (GObject *object, static void champlain_layer_set_property (GObject *object, - guint property_id, - const GValue *value, - GParamSpec *pspec) + guint property_id, + const GValue *value, + GParamSpec *pspec) { //ChamplainLayer *self = CHAMPLAIN_LAYER (object); switch (property_id) @@ -122,9 +123,10 @@ champlain_layer_init (ChamplainLayer *self) * where the most north you are, the farther you are. */ static void -layer_add_cb (ClutterGroup *layer, ClutterActor *marker, gpointer data) +layer_add_cb (ClutterGroup *layer, + ClutterActor *marker, + gpointer data) { - GList* markers = clutter_container_get_children (CLUTTER_CONTAINER(layer)); gint size, i; gdouble y, tmp_y, low_y; @@ -152,10 +154,10 @@ layer_add_cb (ClutterGroup *layer, ClutterActor *marker, gpointer data) } if (lowest) - clutter_container_lower_child(CLUTTER_CONTAINER(layer), CLUTTER_ACTOR(marker), CLUTTER_ACTOR(lowest)); + clutter_container_lower_child(CLUTTER_CONTAINER(layer), + CLUTTER_ACTOR(marker), CLUTTER_ACTOR(lowest)); } - /** * champlain_layer_new: *