From: Pierre-Luc Beaudoin Date: Tue, 25 Aug 2009 23:33:40 +0000 (-0400) Subject: Fix coding style issues X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=decf392dfa0061ad597b0ffc3a77cce67f981089;p=libchamplain Fix coding style issues --- diff --git a/champlain-gtk/gtk-champlain-embed.c b/champlain-gtk/gtk-champlain-embed.c index bb4c141..9d6b43c 100644 --- a/champlain-gtk/gtk-champlain-embed.c +++ b/champlain-gtk/gtk-champlain-embed.c @@ -89,9 +89,9 @@ G_DEFINE_TYPE (GtkChamplainEmbed, gtk_champlain_embed, GTK_TYPE_ALIGNMENT); static void gtk_champlain_embed_get_property (GObject *object, - guint prop_id, - GValue *value, - GParamSpec *pspec) + guint prop_id, + GValue *value, + GParamSpec *pspec) { GtkChamplainEmbed *embed = GTK_CHAMPLAIN_EMBED (object); GtkChamplainEmbedPrivate *priv = embed->priv; @@ -108,9 +108,9 @@ gtk_champlain_embed_get_property (GObject *object, static void gtk_champlain_embed_set_property (GObject *object, - guint prop_id, - const GValue *value, - GParamSpec *pspec) + guint prop_id, + const GValue *value, + GParamSpec *pspec) { //GtkChamplainEmbed *embed = GTK_CHAMPLAIN_EMBED (object); //GtkChamplainEmbedPrivate *priv = embed->priv; @@ -265,8 +265,8 @@ view_realize_cb (GtkWidget *widget, static void view_size_allocated_cb (GtkWidget *widget, - GtkAllocation *allocation, - GtkChamplainEmbed *view) + GtkAllocation *allocation, + GtkChamplainEmbed *view) { GtkChamplainEmbedPrivate *priv = view->priv; @@ -279,8 +279,8 @@ view_size_allocated_cb (GtkWidget *widget, static gboolean mouse_button_cb (GtkWidget *widget, - GdkEventButton *event, - GtkChamplainEmbed *view) + GdkEventButton *event, + GtkChamplainEmbed *view) { GtkChamplainEmbedPrivate *priv = view->priv; diff --git a/champlain/champlain-point.c b/champlain/champlain-point.c index 041ae96..ed0ed3c 100644 --- a/champlain/champlain-point.c +++ b/champlain/champlain-point.c @@ -87,7 +87,8 @@ champlain_point_free (ChamplainPoint *point) * Since: 0.4 */ ChamplainPoint * -champlain_point_new (gdouble lat, gdouble lon) +champlain_point_new (gdouble lat, + gdouble lon) { ChamplainPoint *point; diff --git a/champlain/champlain-point.h b/champlain/champlain-point.h index 7cae947..06a2083 100644 --- a/champlain/champlain-point.h +++ b/champlain/champlain-point.h @@ -41,6 +41,7 @@ ChamplainPoint * champlain_point_copy (const ChamplainPoint *point); void champlain_point_free (ChamplainPoint *point); -ChamplainPoint * champlain_point_new (gdouble lat, gdouble lon); +ChamplainPoint * champlain_point_new (gdouble lat, + gdouble lon); #endif diff --git a/champlain/champlain-tile.c b/champlain/champlain-tile.c index 7b22f84..385042e 100644 --- a/champlain/champlain-tile.c +++ b/champlain/champlain-tile.c @@ -717,7 +717,7 @@ champlain_tile_set_uri (ChamplainTile *self, */ void champlain_tile_set_filename (ChamplainTile *self, - const gchar *filename) + const gchar *filename) { g_return_if_fail(CHAMPLAIN_TILE(self)); g_return_if_fail(filename != NULL); diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c index 1cfda26..4d2276f 100644 --- a/champlain/champlain-view.c +++ b/champlain/champlain-view.c @@ -905,8 +905,8 @@ champlain_view_class_init (ChamplainViewClass *champlainViewClass) static gboolean button_release_cb (ClutterActor *actor, - ClutterEvent *event, - ChamplainView *view) + ClutterEvent *event, + ChamplainView *view) { GList *children = NULL; gboolean found = FALSE;