]> err.no Git - libchamplain/commitdiff
Fix coding style issues
authorPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Tue, 25 Aug 2009 23:33:40 +0000 (19:33 -0400)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Tue, 25 Aug 2009 23:33:40 +0000 (19:33 -0400)
champlain-gtk/gtk-champlain-embed.c
champlain/champlain-point.c
champlain/champlain-point.h
champlain/champlain-tile.c
champlain/champlain-view.c

index bb4c1414239c9eff2b129f13aa90ee0a96d64344..9d6b43c72b74593386f5e37197805e4e5c441892 100644 (file)
@@ -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;
 
index 041ae967e582ca0c06c8acc0bc8e17563892db08..ed0ed3c457b01a9dbd9bc7e5d032dabd96ac90f8 100644 (file)
@@ -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;
 
index 7cae94733f5bf5d2d8786357165b0f463260a017..06a208382772bb66bf8731d0363b10638baa3e2d 100644 (file)
@@ -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
index 7b22f841df8980b91fedbc0419aecc0e3f63c091..385042e113feeeda991cc43ac3795098121b94ac 100644 (file)
@@ -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);
index 1cfda26fcc776ef7656367f9977c50c3dfdb25af..4d2276f4c6a994e35d5cf8f017a032601177bec4 100644 (file)
@@ -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;