Gio.resource (local) is bad supported by vala if used outside GTK
Gio.Resource can be used outside GTK for no-gtk applications
GResource *gresource_get_resource (void);
[CCode (cname = "gresource_get_resource")]
extern Resource load_resource();
void main(string []args) {
var let = load_resource ();
there's also GLib.ResourceLookupFlag
, which has only the enumeration 'NONE'.
open_stream should set it to NONE by default
Edited by Hydral Nathan Jordan