bonobo-conf cleanup



Hi,

I'm having some serious problems with a bonobo-conf component.

I currently call bonobo_get_object several times in my component:

/* Get a reference to the property bag */
bag = bonobo_get_object ("config:/components/scintilla",
"Bonobo/PropertyBag", &ev);
g_assert (!BONOBO_EX (&ev));

Now, as i understand it, i'm supposed to release & unref this
Bonobo_PropertyBag when i'm done with it, right?

But whenever i do bonobo_object_release_unref (bag, &ev); i get a
segfault! (or somewhere further along in my code it segfaults)

Also, what is the proper way to cleanup a Bonobo_Property and a
BonoboArg*?

TIA,

Jeroen Zwartepoorte





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