Re: GGV 1.1.96



Hello Michael

Sorry for long keeping you busy with my crap but I seem to be missing
something serios and important. 

To my understanding, this getUIHandler is trying to return to ggv a
remote reference to my XkbUIContainer - and fails (hangs). So could you
please explain me how bonobo should organize a corba stub for my newly
created XkbUIContainer. Should I any make special calls for it?
I just do:

  XkbUIContainer *xkbuicont = xkb_ui_container_new(  );
// And how bonobo will know about my xkbuicont?
  BonoboUIEngine *uie = bonobo_ui_engine_new();

  bonobo_ui_container_set_engine( BONOBO_UI_CONTAINER( xkbuicont ), uie
);
  newChild = bonobo_widget_new_control( psFileMoniker, xkbuicont );

That's it. Any other actions I should to to properly bind xkbuicont to
newChild and its Bonobo_Control?

Regards,

Sergey
> On Wed, 2002-07-03 at 18:59, Sergey V. Udaltsov wrote:
> > > > How do you think - will it be OK if I just call Bonobo_Control_activate
> > > > myself? I have all the parameters for it already...
> > > 
> > > 	Yes fine,
> > But someone thinks differently:).
> > I call this method straight after creation of my container and the
> > control. And my application freezes at this point (at least from X's
> > point of view). Before the death, I get this in console:
> > 
> > [1025718565,125,xkb_capplet_preview.c:XkbCappletPreviewClicked/] 	ctl:
> > 0x815dff8
> > 
> > ORBit-WARNING **: Request getUIHandler, ID -1073819636 was rejected by
> > the authentication mechanism!
> 
> 	I presume you screwed up the ref counting on your CORBA_Object
> reference - probably you don't hold a reference on it when it's
> registered - thus you're invoking a method on a stale / freed Object
> handle [ or perhaps the other end is freed because you don't hold a ref
> on it ].





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