Re: Glib::Object and Storable



On Thu, 2009-05-07 at 11:54 +0000, jeffrey ratcliffe gmail com wrote:
I'm trying to use Storable. Serialisation works fine, but retrieve
produces:

Goo::Canvas=HASH(0x2b58878) is not a proper Glib::Object (it doesn't
contain magic)

I would have been fairly surprised if it did work in the first place.

Is there any way of doing this?

unless you can override the deserialization sequence in order to create
an underlying C instance first, otherwise no.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi,
W: http://www.emmanuelebassi.name
B: http://blogs.gnome.org/ebassi




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