Re: bonobo-conf cleanup
- From: Dietmar Maurer <dietmar ximian com>
- To: Jeroen Zwartepoorte <Jeroen xs4all nl>
- Cc: gnome-components-list gnome org
- Subject: Re: bonobo-conf cleanup
- Date: Thu, 09 Aug 2001 18:39:48 +0200
Jeroen Zwartepoorte wrote:
> 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?
Sure
> But whenever i do bonobo_object_release_unref (bag, &ev); i get a
> segfault! (or somewhere further along in my code it segfaults)
Do you aggregate the PropertyBag with another object (you must not
release it in that case)?
> Also, what is the proper way to cleanup a Bonobo_Property
Don't know what you mean with cleanup?
(maybe bonono_object_release_unref())
> and a
> BonoboArg*?
bonobo_arg_release ();
- Dietmar
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]