Re: [Vala] Newbie question (using directive)



The sample was C#, but yes i do use

--pkg=gobject-2.0 --pkg=gio-unix-2.0 --pkg=gdk-3.0 --pkg=gtk+-3.0 --pkg=libxml-2.0 --pkg=gio-2.0 --pkg=json-glib-1.0 --pkg=glib-2.0 --pkg=gmodule-2.0 --pkg=gee-0.8 --pkg=gtksourceview-3.0 .....

I know the problem(have a look to compiler.vala), that's why i ask to "improve".


Am 20.02.19 um 14:20 schrieb Al Thomas via vala-list:
    > On Wednesday, 20 February 2019, 13:16:38 GMT, Wolfgang Mauer <wolfgang mauer kabelmail de> wrote:  >> 
The same would happen in C# if you had two
classes/interfaces/whatever with the same name but defined in distinct
namespaces.
Sorry, but you are wrong!!!
The "Application" is ONLY resolved by the "using Gtk;" and not
"GLib.Application"
Are you using --pkg gio-2.0 ? GLib.Application is part of the gio-2.0 binding.
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list



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