aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/bin/test_gengrid.c
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
commita6e84dac8115f87c8edf7d972a9986d140030266 (patch)
tree28bb44e5d46e30876134aca2b0f88dc5ba7601b4 /legacy/elementary/src/bin/test_gengrid.c
parentSpinner: use fabs for floating point absolute value. (diff)
downloadefl-a6e84dac8115f87c8edf7d972a9986d140030266.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.
Diffstat (limited to 'legacy/elementary/src/bin/test_gengrid.c')
-rw-r--r--legacy/elementary/src/bin/test_gengrid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/elementary/src/bin/test_gengrid.c b/legacy/elementary/src/bin/test_gengrid.c
index 5cd87a5aaa..9a9832d296 100644
--- a/legacy/elementary/src/bin/test_gengrid.c
+++ b/legacy/elementary/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