Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Eina.h>
- #include <Edje.h>
- int
- main(int argc, char **argv)
- {
- Eina_List *l;
- edje_init();
- edje_color_class_set("my_class", 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4);
- l = edje_color_class_list(); // ERROR List should contain "my_class"
- printf("count: %d\n", eina_list_count(l)); // instead this print "0"
- edje_text_class_set("my_text_class", "Sans", 12);
- l = edje_text_class_list(); // ERROR List should contain "my_text_class"
- printf("count: %d\n", eina_list_count(l)); // instead this print "0"
- // edje_text_class_list() also spawn some wrong warnings because the hash is empty
- // ANOTHER: edje_text_class_get() is missing, while it's named in the doc for edje_text_class_set()
- edje_shutdown();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement