Hello,

The namespace GLib is imported by default. Imagine an invisible `using
GLib;` line at the beginning of every Vala file.

Jiri

On Wed, 20 Feb 2019 at 13:14, Wolfgang Mauer
<[email protected]> wrote:
>
> Hi all,
> in my source i just have
>
>      using Gtk;
>
> and no other using!
> Now if i want to use
>
>      public Menu menu;
>
> i get -> error: `Menu' is an ambiguous reference between `GLib.Menu' and
> `Gtk.Menu'
> But i don't have a "using GLib;" in my source !!!
>
> Is this a Bug?
>
> Greetings
> Wolfgang
>
> _______________________________________________
> vala-list mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/vala-list
_______________________________________________
vala-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to