elm widget_preview_gengrid.c: Fixed sample code.

SVN revision: 62118
This commit is contained in:
Daniel Juyung Seo 2011-08-05 01:24:21 +00:00
parent 1d6ee07488
commit cd48388cf3
1 changed files with 9 additions and 4 deletions

View File

@ -1,15 +1,20 @@
#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_label_get(void *data __UNUSED__,
Evas_Object *obj __UNUSED__,
const char *part __UNUSED__)
{
return strdup("label");
}
static Evas_Object *
_grid_icon_get(void *data,
_grid_icon_get(void *data __UNUSED__,
Evas_Object *obj,
const char *part)
{