+static VALUE m_collections_get (VALUE self, VALUE file)
+{
+ VALUE ary;
+ Evas_List *list, *l;
+
+ Check_Type (file, T_STRING);
+
+ ary = rb_ary_new ();
+
+ list = edje_file_collection_list (StringValuePtr (file));
+ if (!list)
+ return ary;
+
+ for (l = list; l; l = l->next)
+ rb_ary_push (ary, rb_str_new2 (l->data));
+
+ edje_file_collection_list_free (list);
+
+ return ary;
+}
+