Getting GValue* from Glib::Value


I have 

Glib::Value<Foo> data;

How can I get pure C GValue*? I need it to use with the C API.
data.gobj() returns C++ based type, which is not acceptable by C API. I
see protected gobject_ in the base class. Does it make sense to have an
API, e.g.  const GValue* Glib::ValueBase::get_gvalue() to fetch thepointer for underlying GValue? 

Any other suggestion? 

- Pavlo Solntsev
Please avoid sending me Word or PowerPoint attachments.

Sent from Evolution on GNU/Debian <>

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