|
|
|
|
@ -1441,6 +1441,7 @@ config_str yon_resource_open_file(const char *path, int *size){
|
|
|
|
|
gsize sz;
|
|
|
|
|
GFile *file = g_file_new_for_uri(path);
|
|
|
|
|
g_file_load_contents(file,NULL,&modules,&sz,NULL,NULL);
|
|
|
|
|
g_object_unref(G_OBJECT(file));
|
|
|
|
|
parsed = yon_char_parse(modules,size,"\n");
|
|
|
|
|
return parsed;
|
|
|
|
|
}
|
|
|
|
|
|