Also use an edit object when generating the source.
authorsachiel <sachiel>
Thu, 22 Apr 2010 20:29:35 +0000 (20:29 +0000)
committersachiel <sachiel@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 22 Apr 2010 20:29:35 +0000 (20:29 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@48231 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_edit.c

index d04e2fb..2cb1266 100644 (file)
@@ -6392,7 +6392,7 @@ _edje_generate_source_of_group(Edje *ed, const char *group, Eina_Strbuf *buf)
    char *data;
    Eina_Bool ret = EINA_TRUE;
 
-   obj = edje_object_add(ed->evas);
+   obj = edje_edit_object_add(ed->evas);
    if (!edje_object_file_set(obj, ed->file->path, group)) return EINA_FALSE;
 
    BUF_APPENDF(I1"group { name: \"%s\";\n", group);