[Vala] Gdir - newbie problem



Hello!
I'm trying to use Gdir in Vala.

Dir dir_view = new Dir();

This gives me:

error: invalid application of ‘sizeof’ to incomplete type ‘GDir’

Can someone give me an example how to get a list of files in a directory?

Thanks!
Leonti



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