#include <Elementary.h>
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#else
+# define __UNUSED__
+#endif
static char *
-_grid_label_get(void *data,
- Evas_Object *obj,
- const char *part )
+_grid_text_get(void *data __UNUSED__,
+ Evas_Object *obj __UNUSED__,
+ const char *part __UNUSED__)
{
return strdup("label");
}
static Evas_Object *
-_grid_icon_get(void *data,
+_grid_content_get(void *data __UNUSED__,
Evas_Object *obj,
const char *part)
{
Elm_Gengrid_Item_Class gic;
gic.item_style = "default";
-gic.func.label_get = _grid_label_get;
-gic.func.icon_get = _grid_icon_get;
+gic.func.text_get = _grid_text_get;
+gic.func.content_get = _grid_content_get;
gic.func.state_get = NULL;
gic.func.del = NULL;