[libchamplain] ChamplainView: Don't set state to DONE at the end of init



commit 4350ac6d2ab5c77cfeeedc9e7d3a4b87d19f8ebc
Author: Jiří Techet <techet gmail com>
Date:   Tue Jan 12 11:59:12 2016 +0100

    ChamplainView: Don't set state to DONE at the end of init
    
    The initial state is CHAMPLAIN_STATE_NONE and it should be changed to DONE
    only after tiles get loaded which already happens in tile_state_notify().

 champlain/champlain-view.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c
index 363e3b1..bf53868 100644
--- a/champlain/champlain-view.c
+++ b/champlain/champlain-view.c
@@ -1417,9 +1417,6 @@ champlain_view_init (ChamplainView *view)
   clutter_actor_set_x_align (priv->license_actor, CLUTTER_ACTOR_ALIGN_END);
   clutter_actor_set_y_align (priv->license_actor, CLUTTER_ACTOR_ALIGN_END);
   clutter_actor_add_child (CLUTTER_ACTOR (view), priv->license_actor);
-  
-  priv->state = CHAMPLAIN_STATE_DONE;
-  g_object_notify (G_OBJECT (view), "state");
 }
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]