Re: [Vala] Problem adding gstreamer option group to context?
- From: "Jaap A. Haitsma" <jaap haitsma org>
- To: "Sandino Flores Moreno" <tigrux gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Problem adding gstreamer option group to context?
- Date: Sun, 30 Mar 2008 22:02:24 +0200
On Sun, Mar 30, 2008 at 9:56 PM, Jaap A. Haitsma <jaap haitsma org> wrote:
On Sun, Mar 30, 2008 at 7:47 PM, Sandino Flores Moreno <tigrux gmail com> wrote:
> This line is wrong:
>
> context.add_group (Gst.init_get_option_group ());
>
> It should be replaced as follows:
> weak GLib.OptionGroup gst_opt_group = Gst.init_get_option_group ();
> context.add_group (gst_opt_group);
Oops. This still doesn't work. I still get
/home/haitsma/Programming/gnome2/cheese-vala/src/cheese.vala:54.9-54.19:
error: duplicating OptionGroup instance, use weak variable or
explicitly invoke copy method
Jaap
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]