Hi, Recently, I'm developing a IM Module for gtk+-2.x, but I met a problem. Because I registered a new class within my IM Module by g_type_register_static, then when I open a input context the second time, the application crashed. The error message shows can not register a type which already registered. In order to solve this problem, I realized that I must make my IM module resident in the memory to prevent my class being registered twice. I don't know if it's OK to use g_type_module_use within im_module_init to make it resident? Or what else can I do to solve the problem?
Regards James Su _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
