Re: ActivationContext and shlib servers



On Sat, 27 Jan 2001, Michael Meeks wrote:
> On Sat, 27 Jan 2001, Michael Meeks wrote:
> > 	It should be safe as long as you have no instance init function
> > ( fairly common practice ) and that you build a gtk_type_query into
> > your whatever_get_type () method.
> 
> 	This is totaly wrong :-) I was not thinking straight.

	Although; in fact with a helper function, if they type was
registered when you hit the query you could re-init the class data with
the class_init function thus solving any remaining problems. Of course if
you were doing very broken stuff you could still scupper yourself by
accessing a broken GtkType, but this seems unlikely.

	So, I still think we can work around this fairly easily.

	Regards,

		Michael.

-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot





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