[Vala] Resource API inconsistent



Hi all,

if i want to lookup resource data via the glib API, i would normally
use g_resources_open_stream. This function call doesn't need a
object. If its registered beforehand i can use it globally in my
application. In contrast vala needs a Resource object to use this
function, which seems wrong. Am i missing something here?

Günther Wutz


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]