Hi, The following excerpt fails because of context.add_group (Gst.init_get_option_group ());
var context = new OptionContext (_("foo")); context.set_help_enabled (true); context.add_main_entries (options, null); context.add_group (Gtk.get_option_group (true)); context.add_group (Gst.init_get_option_group ()); context.parse (ref args); The error I get is /opt/gnome2/share/vala/vapi/gstreamer-0.10.vapi:1978.21-1978.36: error: duplicating OptionGroup instance, use weak variable or explicitly invoke copy method Is this a bug or am I doing something wrong? Jaap _______________________________________________ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list