On Sun, Apr 17, 2016 at 11:40 AM, Cole Bush <bus...@husky.neu.edu> wrote:
> Glib-GObject-WARNING **: /file/path/gvalue.c:181: cannot initialize GValue
> with type 'gfloat', the value has already been initialized as 'gfloat'

Looks like Gst::ValueList::get() calls Glib::Value::init() which
should only be done once. Since you are in a loop, it is done more
than once. Looks like the glibmm doesn't have g_value_unset() wrapped.
You can put g_value_unset(mag.gobj()) at the top of your loop. Or you
can put the the GLib::Value<float> mag declaration at the top of your
loop.
_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to