continue;
}
+ description = edje_edit_program_api_description_get(ed, name);
+ type = edje_edit_program_action_get(ed, name);
+ if (type == EDJE_ACTION_TYPE_SIGNAL_EMIT)
+ {
+ const char *str, *str2;
+ str = edje_edit_program_state_get(ed, name);
+ str2 = edje_edit_program_state2_get(ed, name);
+
+ if (!_write_program_add(apiname, str2, str, description))
+ {
+ ret = EINA_FALSE;
+ edje_edit_string_free(str);
+ edje_edit_string_free(str2);
+ break;
+ }
+
+ edje_edit_string_free(str);
+ edje_edit_string_free(str2);
+ }
+
signal = edje_edit_program_signal_get(ed, name);
if (!signal)
{
free(apiname);
+ edje_edit_string_free(description);
continue;
}
{
free(apiname);
edje_edit_string_free(signal);
+ edje_edit_string_free(description);
continue;
}
- description = edje_edit_program_api_description_get(ed, name);
if (!_write_program_emit(apiname, source, signal, description))
{
ret = EINA_FALSE;
break;
}
- type = edje_edit_program_action_get(ed, name);
- if (type == EDJE_ACTION_TYPE_SIGNAL_EMIT)
- {
- const char *str, *str2;
- str = edje_edit_program_state_get(ed, name);
- str2 = edje_edit_program_state2_get(ed, name);
-
- if (!_write_program_add(apiname, str2, str, description))
- {
- ret = EINA_FALSE;
- edje_edit_string_free(str);
- edje_edit_string_free(str2);
- break;
- }
-
- edje_edit_string_free(str);
- edje_edit_string_free(str2);
- }
-
edje_edit_string_free(description);
edje_edit_string_free(signal);
edje_edit_string_free(source);