problem getting PropertyBag
- From: Jeroen Zwartepoorte <Jeroen xs4all nl>
- To: gnome-components-list gnome org
- Subject: problem getting PropertyBag
- Date: 25 Jul 2001 22:18:26 +0200
Hi,
I've added support for bonobo-conf to an already bonobo enabled widget.
Everything works fine on my machine, but on somebody elses, it fails
when trying to get the config:/scintilla PropertyBag.
The widget exposes the PropertyControl interface. In the get method of
the bonobo_property_control_new, i first need to get the PropertyBag
containing the widget's properties:
CORBA_exception_init (&ev);
bag = bonobo_get_object ("config:/scintilla", "Bonobo/PropertyBag",
&ev);
g_assert (!BONOBO_EX (&ev));
The bonobo_get_object call fails (the assertion on the next line fails).
Why does this fail? The other person did a backtrace and came up with
the following:
#5 0x0805b6ca in get_impl (control=0x80eb2e8, page_number=0,
closure=0x80d8cc8) at scintilla-property-control.c:111
111 g_assert (!BONOBO_EX (&ev));
(gdb) p ev
$1 = {_major = CORBA_USER_EXCEPTION, _repo_id = 0x80f2e5c
"IDL:Bonobo/Moniker/UnknownPrefix:1.0", _params = 0x0, _any = 0x0}
(gdb)
I'm relatively new to linux programming, so the above doesn't tell me
much. What kind of CORBA exception occurred here and why?
Thanks,
Jeroen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]