Advertisement
Guest User

edje_errors

a guest
Feb 11th, 2013
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.80 KB | None | 0 0
  1. #include <Eina.h>
  2. #include <Edje.h>
  3.  
  4.  
  5. int
  6. main(int argc, char **argv)
  7. {
  8.     Eina_List *l;
  9.  
  10.     edje_init();
  11.  
  12.     edje_color_class_set("my_class", 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4);
  13.     l = edje_color_class_list();               // ERROR List should contain "my_class"
  14.     printf("count: %d\n", eina_list_count(l)); // instead this print "0"
  15.  
  16.     edje_text_class_set("my_text_class", "Sans", 12);
  17.     l = edje_text_class_list();                // ERROR List should contain "my_text_class"
  18.     printf("count: %d\n", eina_list_count(l)); // instead this print "0"
  19.     // edje_text_class_list() also spawn some wrong warnings because the hash is empty
  20.    
  21.  
  22.     // ANOTHER: edje_text_class_get() is missing, while it's named in the doc for edje_text_class_set()
  23.  
  24.     edje_shutdown();
  25.     return 0;
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement