Re: GGV 1.1.96
- From: "Sergey V. Udaltsov" <sergey oudaltsov clients ie>
- To: Michael Meeks <michael ximian com>
- Cc: bonobo <gnome-components-list gnome org>
- Subject: Re: GGV 1.1.96
- Date: 31 Jul 2002 20:39:54 +0100
> Then - somehow the CORBA reference of the ControlFrame is getting
> corrupted; I've no idea how - it's quite a trick to do it since it's all
> created inside the BonoboWidget code.
Always good news from you:)
> The ControlFrame reference has got corrupted; or some ORB internals got
> corrupted, or something else.
:) "Or something else" sounds promising:)))
> I suggest cutting out all of your code that does clever things, and
> adding it back in to binary chop the problem out.
OK. What I done is removed my own uicontainer and now:
newChild = bonobo_widget_new_control( psFileMoniker, CORBA_OBJECT_NIL );
if( newChild != NULL ) // some error?
{
Bonobo_Unknown unknown =
bonobo_widget_get_objref( BONOBO_WIDGET( newChild ) );
Bonobo_Zoomable zoomable = Bonobo_Zoomable_queryInterface( unknown,
"IDL:Bonobo/Zoomable:1.0",
NULL );
Bonobo_Control control = Bonobo_Control_queryInterface( unknown,
"IDL:Bonobo/Control:1.0",
NULL );
gtk_container_add( GTK_CONTAINER( frame ), newChild );
if( zoomable != CORBA_OBJECT_NIL )
{
// some work with zoomable - no problems here
.............
isZoomable = True;
}
gtk_widget_show_all( newChild );
//!!!
//!!! HERE WE'LL HANG!!
//!!!
Bonobo_Control_activate( control, True, NULL );
}
But it still hangs on Bonobo_Control_activate call. Without it
everything works OK. So I cannot activate Bonobo_Control without getting
this authentication exception:( So my question is what's so special
about Bonobo_Control_activate? Can it be some problem with ggv's
implementation of it?
Regards,
Sergey
[
Date Prev][Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]