Re: Can I make a IM Module resident?



On Thu, 2003-03-27 at 12:32, James Su wrote:
> Hi,
> 
> The class I registered is not the im module class, it's another class
> defined by myself. The im class is registered by
> g_type_module_register_type().
> 
> Regards
> James Su
 
Couldn't you do a g_type_from_name first for your static type and only
try to register it if it hasn't already been registered?

James

-- 
James Durie               Phone:  +44 20 7749 7904
Anvil Software Limited    Fax:    +44 20 7749 7916
46-48 Rivington Street    e-mail: jdurie anvil co uk
London EC2A 3QP




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