summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elementary/elm_index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_index.c b/src/lib/elementary/elm_index.c
index a8f35e3aa4..f9bb2b2022 100644
--- a/src/lib/elementary/elm_index.c
+++ b/src/lib/elementary/elm_index.c
@@ -1045,6 +1045,7 @@ _elm_index_efl_canvas_group_group_add(Eo *obj, Elm_Index_Data *priv)
1045 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd); 1045 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
1046 1046
1047 efl_canvas_group_add(efl_super(obj, MY_CLASS)); 1047 efl_canvas_group_add(efl_super(obj, MY_CLASS));
1048 priv->event_rect[0] = o = evas_object_rectangle_add(evas_object_evas_get(obj));
1048 1049
1049 if (!elm_layout_theme_set 1050 if (!elm_layout_theme_set
1050 (obj, "index", "base/vertical", elm_widget_style_get(obj))) 1051 (obj, "index", "base/vertical", elm_widget_style_get(obj)))
@@ -1053,7 +1054,6 @@ _elm_index_efl_canvas_group_group_add(Eo *obj, Elm_Index_Data *priv)
1053 evas_object_event_callback_add 1054 evas_object_event_callback_add
1054 (obj, EVAS_CALLBACK_RESIZE, _index_resize_cb, NULL); 1055 (obj, EVAS_CALLBACK_RESIZE, _index_resize_cb, NULL);
1055 1056
1056 priv->event_rect[0] = o = evas_object_rectangle_add(evas_object_evas_get(obj));
1057 evas_object_color_set(o, 0, 0, 0, 0); 1057 evas_object_color_set(o, 0, 0, 0, 0);
1058 elm_coords_finger_size_adjust(1, &minw, 1, &minh); 1058 elm_coords_finger_size_adjust(1, &minw, 1, &minh);
1059 evas_object_size_hint_min_set(o, minw, minh); 1059 evas_object_size_hint_min_set(o, minw, minh);