From: Emmanuel Rodriguez Date: Sat, 28 Mar 2009 16:55:17 +0000 (+0100) Subject: champlain_view_init() calls champlain_view_set_size() X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48574c0beacb1aaf23eba922a2934888096a6282;p=libchamplain champlain_view_init() calls champlain_view_set_size() --- diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c index ca69f62..0afa142 100644 --- a/champlain/champlain-view.c +++ b/champlain/champlain-view.c @@ -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");