Test gengrid: use the gengrid enum, and not the genlist one.
authorTom Hacohen <tom@stosb.com>
Wed, 22 Apr 2015 12:33:40 +0000 (13:33 +0100)
committerTom Hacohen <tom@stosb.com>
Wed, 22 Apr 2015 12:33:40 +0000 (13:33 +0100)
They are probably in sync, but this is just wrong.
Especially if people copy/paste this.

src/bin/test_gengrid.c

index 5cd87a5..9a9832d 100644 (file)
@@ -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