summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-04-22 13:33:40 +0100
committerTom Hacohen <tom@stosb.com>2015-04-22 13:33:40 +0100
commit3d0197bad1348db73d41de57cdd31ec37e5a9404 (patch)
tree71fcc32f671ee938bdb67162001591b994ad7b15
parentc0d2a15d5121465c0f84e3e709c2c92f2b89f4f4 (diff)
downloadelementary-3d0197bad1348db73d41de57cdd31ec37e5a9404.tar.gz
Test gengrid: use the gengrid enum, and not the genlist one.
They are probably in sync, but this is just wrong. Especially if people copy/paste this.
-rw-r--r--src/bin/test_gengrid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/test_gengrid.c b/src/bin/test_gengrid.c
index 5cd87a5aa..9a9832d29 100644
--- a/src/bin/test_gengrid.c
+++ b/src/bin/test_gengrid.c
@@ -1414,7 +1414,7 @@ _grid5_search_item(grid5_Event_Data *event_data, Elm_Object_Item * it)
{
printf("Found.\n");
elm_gengrid_item_selected_set(event_data->last_item_found, EINA_TRUE);
- elm_gengrid_item_bring_in(event_data->last_item_found, ELM_GENLIST_ITEM_SCROLLTO_MIDDLE);
+ elm_gengrid_item_bring_in(event_data->last_item_found, ELM_GENGRID_ITEM_SCROLLTO_MIDDLE);
elm_object_focus_set(event_data->en_obj, EINA_TRUE);
}
else