summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2016-12-07 13:19:48 +0100
committerTom Hacohen <tom@stosb.com>2016-12-07 13:31:54 +0000
commit8d4de0d7870be482cf5bb981ffca63e47fe4e1a9 (patch)
tree7e6b3fa38c4314b87672ff4b553c907a7891e1fe
parent246288fff76b7ca6f3887bc141856f66817ceeb9 (diff)
downloadefl-8d4de0d7870be482cf5bb981ffca63e47fe4e1a9.tar.gz
eolian: use the generic class name instead of C name in source
This changes the string in Efl_Class_Description to use the real class name (with namespaces) instead of the C class name. The reason for this is that this string is generic, not C-related.
-rw-r--r--src/bin/eolian/sources.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/bin/eolian/sources.c b/src/bin/eolian/sources.c
index 54bcd1c59a..911443566d 100644
--- a/src/bin/eolian/sources.c
+++ b/src/bin/eolian/sources.c
@@ -604,8 +604,8 @@ eo_gen_source_gen(const Eolian_Class *cl, Eina_Strbuf *buf)
_funcs_params_init = eina_hash_pointer_new(NULL);
- char *cname = NULL, *cnamel = NULL;
- eo_gen_class_names_get(cl, &cname, NULL, &cnamel);
+ char *cnamel = NULL;
+ eo_gen_class_names_get(cl, NULL, NULL, &cnamel);
/* event section, they come first */
{
@@ -662,7 +662,7 @@ eo_gen_source_gen(const Eolian_Class *cl, Eina_Strbuf *buf)
eina_strbuf_append(buf, cnamel);
eina_strbuf_append(buf, "_class_desc = {\n"
" EO_VERSION,\n");
- eina_strbuf_append_printf(buf, " \"%s\",\n", cname);
+ eina_strbuf_append_printf(buf, " \"%s\",\n", eolian_class_full_name_get(cl));
switch (eolian_class_type_get(cl))
{
@@ -739,7 +739,6 @@ eo_gen_source_gen(const Eolian_Class *cl, Eina_Strbuf *buf)
eina_strbuf_free(lbuf);
/* and we're done */
- free(cname);
free(cnamel);
eina_hash_free(_funcs_params_init);
}