summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/edje_externals/elm_gengrid.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-01-23 20:08:10 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-01-23 22:36:41 +0900
commit750cd95d10a930a428fcf93f6687f948fbc31ddf (patch)
tree4aa498827f50be8e41a8a66863d48b6ea2c51e36 /legacy/elementary/src/edje_externals/elm_gengrid.c
parenta3c5ee407f6ddc60824fe1e6bbc269b2b1c59d7f (diff)
edje_externals: Fixed formatting before working on it.
Diffstat (limited to 'legacy/elementary/src/edje_externals/elm_gengrid.c')
-rw-r--r--legacy/elementary/src/edje_externals/elm_gengrid.c19
1 files changed, 13 insertions, 6 deletions
diff --git a/legacy/elementary/src/edje_externals/elm_gengrid.c b/legacy/elementary/src/edje_externals/elm_gengrid.c
index ea720c8..7373942 100644
--- a/legacy/elementary/src/edje_externals/elm_gengrid.c
+++ b/legacy/elementary/src/edje_externals/elm_gengrid.c
@@ -1,5 +1,4 @@
1#include <assert.h> 1#include <assert.h>
2
3#include "private.h" 2#include "private.h"
4 3
5typedef struct _Elm_Params_Gengrid 4typedef struct _Elm_Params_Gengrid
@@ -32,7 +31,9 @@ typedef struct _Elm_Params_Gengrid
32} Elm_Params_Gengrid; 31} Elm_Params_Gengrid;
33 32
34static void 33static void
35external_gengrid_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED) 34external_gengrid_state_set(void *data EINA_UNUSED, Evas_Object *obj,
35 const void *from_params, const void *to_params,
36 float pos EINA_UNUSED)
36{ 37{
37 const Elm_Params_Gengrid *p; 38 const Elm_Params_Gengrid *p;
38 39
@@ -108,7 +109,8 @@ external_gengrid_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void
108} 109}
109 110
110static Eina_Bool 111static Eina_Bool
111external_gengrid_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param) 112external_gengrid_param_set(void *data EINA_UNUSED, Evas_Object *obj,
113 const Edje_External_Param *param)
112{ 114{
113 if (!strcmp(param->name, "multi select")) 115 if (!strcmp(param->name, "multi select"))
114 { 116 {
@@ -231,7 +233,8 @@ external_gengrid_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_
231} 233}
232 234
233static Eina_Bool 235static Eina_Bool
234external_gengrid_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param) 236external_gengrid_param_get(void *data EINA_UNUSED, const Evas_Object *obj,
237 Edje_External_Param *param)
235{ 238{
236 if (!strcmp(param->name, "multi select")) 239 if (!strcmp(param->name, "multi select"))
237 { 240 {
@@ -356,7 +359,9 @@ external_gengrid_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_
356} 359}
357 360
358static void * 361static void *
359external_gengrid_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Eina_List *params) 362external_gengrid_params_parse(void *data EINA_UNUSED,
363 Evas_Object *obj EINA_UNUSED,
364 const Eina_List *params)
360{ 365{
361 Elm_Params_Gengrid *mem; 366 Elm_Params_Gengrid *mem;
362 Edje_External_Param *param; 367 Edje_External_Param *param;
@@ -434,7 +439,9 @@ external_gengrid_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUS
434} 439}
435 440
436static Evas_Object * 441static Evas_Object *
437external_gengrid_content_get(void *data EINA_UNUSED, const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED) 442external_gengrid_content_get(void *data EINA_UNUSED,
443 const Evas_Object *obj EINA_UNUSED,
444 const char *content EINA_UNUSED)
438{ 445{
439 ERR("No content."); 446 ERR("No content.");
440 return NULL; 447 return NULL;