]> err.no Git - libchamplain/commitdiff
champlain_view_init() calls champlain_view_set_size()
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Sat, 28 Mar 2009 16:55:17 +0000 (17:55 +0100)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Sun, 29 Mar 2009 15:32:58 +0000 (18:32 +0300)
champlain/champlain-view.c

index ca69f62d544067a650fecf748cdb732487099db1..0afa142953c92b03ba8beaa754ecc42d2e510e29 100644 (file)
@@ -825,6 +825,9 @@ champlain_view_init (ChamplainView *view)
   clutter_container_add_actor (CLUTTER_CONTAINER (priv->viewport),
       priv->user_layers);
   clutter_actor_raise (priv->user_layers, priv->map_layer);
+  
+  champlain_view_set_size(view, priv->viewport_size.width,
+      priv->viewport_size.height);
 
   priv->state = CHAMPLAIN_STATE_DONE;
   g_object_notify (G_OBJECT (view), "state");