[Vala] Bug regarding usage of Gtk Stock IDs



I think I found bug when trying to use Gtk.STOCK_* (and probably other)
constants.

For example,

using Gtk;

public class Test
{
        static int main (string[] args) {
                string id = Gtk.STOCK_ADD;
        }
}

Vala generates C code which refers to GTKSTOCK_ADD.

Regards,

Dominique



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