[libchamplain: 29/45] Static sizes are not needed anymore for user layers.
- From: Jiří Techet <jiritechet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplain: 29/45] Static sizes are not needed anymore for user layers.
- Date: Sun, 14 Aug 2016 12:30:45 +0000 (UTC)
commit 40be512b28c6b0878140c436e7d3599971618292
Author: Marius Stanciu <stanciumarius94 gmail com>
Date: Wed Jul 20 13:51:32 2016 +0300
Static sizes are not needed anymore for user layers.
champlain/champlain-view.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c
index 48a5031..fe61705 100644
--- a/champlain/champlain-view.c
+++ b/champlain/champlain-view.c
@@ -1324,9 +1324,6 @@ update_clones (ChamplainView *view)
/* Inserting the real user layer in the first slot */
priv->user_layer_slots = g_list_append (priv->user_layer_slots, priv->user_layers);
clutter_actor_set_x (priv->user_layers, 0);
-
- /* A fixed width is needed to ensure actors don't get resized when moved */
- clutter_actor_set_width (priv->user_layers, map_size);
for (i = 0; i < priv->num_clones; i++)
{
@@ -1343,7 +1340,6 @@ update_clones (ChamplainView *view)
clutter_actor_set_x (clone_user, (i + 1) * map_size);
clutter_actor_insert_child_below (priv->viewport_container, clone_user,
priv->user_layers);
- clutter_actor_set_width (priv->user_layers, map_size);
/* Inserting the user layer clones in the following slots */
priv->user_layer_slots = g_list_append (priv->user_layer_slots, clone_user);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]