summaryrefslogtreecommitdiff
path: root/src/edje_externals/elm_panes.c
diff options
context:
space:
mode:
authorOtavio Pontes <otavio@profusion.mobi>2010-10-21 22:03:43 +0000
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2010-10-21 22:03:43 +0000
commit68511034181d22083d1dd6115e339affc2d69681 (patch)
tree7c95dbf36e6a65c28ab3c22b9beaf346219fea79 /src/edje_externals/elm_panes.c
parentd13d14e2c38ae95fe4ed7ec6c726cf4b0af5e041 (diff)
Add support for changing style from one elm widget in edje external.
Create a param 'style' that can be used in edje external to change the style of one object. Patch by: Otavio Pontes <otavio@profusion.mobi> SVN revision: 53754
Diffstat (limited to 'src/edje_externals/elm_panes.c')
-rw-r--r--src/edje_externals/elm_panes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/edje_externals/elm_panes.c b/src/edje_externals/elm_panes.c
index 38112e1de..84666ae24 100644
--- a/src/edje_externals/elm_panes.c
+++ b/src/edje_externals/elm_panes.c
@@ -115,7 +115,7 @@ static void * external_panes_params_parse(void *data, Evas_Object *obj,
115 Edje_External_Param *param; 115 Edje_External_Param *param;
116 const Eina_List *l; 116 const Eina_List *l;
117 117
118 mem = external_common_params_parse(Elm_Params_Panes, data, obj, params); 118 mem = calloc(1, sizeof(Elm_Params_Panes));
119 if (!mem) 119 if (!mem)
120 return NULL; 120 return NULL;
121 121
@@ -155,7 +155,7 @@ static Evas_Object *external_panes_content_get(void *data __UNUSED__,
155 155
156 156
157static void external_panes_params_free(void *params) { 157static void external_panes_params_free(void *params) {
158 external_common_params_free(params); 158 free(params);
159} 159}
160 160
161static Edje_External_Param_Info external_panes_params[] = { 161static Edje_External_Param_Info external_panes_params[] = {