Hello:

I want to do this conditional compilation in my code:

#ifGTK_CHECK_VERSION(3, 22, 0)
this.menu.popup_at_pointer(event);
#else
this.menu.popup(null, null, null, 2, Gtk.get_current_event_time());
#endif Unfortunately, GTK_CHECK_VERSION doesn't work in Vala. Is there an alternative to do that in Vala? Thanks.
_______________________________________________
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to