forked from enlightenment/efl
elm widget_preview_gengrid.c: Fixed sample code.
SVN revision: 62118
This commit is contained in:
parent
1d6ee07488
commit
cd48388cf3
|
@ -1,15 +1,20 @@
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
# include "elementary_config.h"
|
||||||
|
#else
|
||||||
|
# define __UNUSED__
|
||||||
|
#endif
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
_grid_label_get(void *data,
|
_grid_label_get(void *data __UNUSED__,
|
||||||
Evas_Object *obj,
|
Evas_Object *obj __UNUSED__,
|
||||||
const char *part )
|
const char *part __UNUSED__)
|
||||||
{
|
{
|
||||||
return strdup("label");
|
return strdup("label");
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_grid_icon_get(void *data,
|
_grid_icon_get(void *data __UNUSED__,
|
||||||
Evas_Object *obj,
|
Evas_Object *obj,
|
||||||
const char *part)
|
const char *part)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue