glib: use resource