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 regist
Hi,
James Su <[EMAIL PROTECTED]> writes:
> 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 sho
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
Sven Neumann wrote:
>Hi,
>
>James Su <[EMAIL PROTECTED]> writes:
>
>
>
>>Recently, I'm developing a IM Module for gtk+-2.x, bu
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 a
Hi,
James Su <[EMAIL PROTECTED]> writes:
> 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().
uh, oh, how is that supposed to work? A dynamic module can not register
a static type. What if the
Yes, I had tried it. But the application is crashed when the IM Module
is loaded the third time.
Regards
James Su
James Durie wrote:
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 regis
Then, how can I use my own class within a IM module? There is no type
register function like g_type_register_dynamic.
Regards
James Su
Sven Neumann wrote:
Hi,
James Su <[EMAIL PROTECTED]> writes:
The class I registered is not the im module class, it's another class
defined by myself. The im
Hi,
James Su <[EMAIL PROTECTED]> writes:
> Then, how can I use my own class within a IM module? There is no type
> register function like g_type_register_dynamic.
I'm pretty sure there is exactly this function. But don't take my word
that this is the right way to do this, I'm more or less only g
Oh, I see. But the interface of this function is different with the
static one, could you please give me some hint on how to use it?
The GTypeInfo parameter is replaced by a GTypePlugin pointer. Could you
please tell me how can I convert a GTypeInfo into GTypePlugin?
Regards
James Su
Sven Neuma
Hi,
James Su <[EMAIL PROTECTED]> writes:
> Oh, I see. But the interface of this function is different with the
> static one, could you please give me some hint on how to use it?
>
> The GTypeInfo parameter is replaced by a GTypePlugin pointer. Could
> you please tell me how can I convert a GType
On Fri, 2003-03-28 at 03:31, James Su wrote:
> Oh, I see. But the interface of this function is different with the
> static one, could you please give me some hint on how to use it?
>
> The GTypeInfo parameter is replaced by a GTypePlugin pointer. Could you
> please tell me how can I convert a G
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
Sven Neumann wrote:
Hi,
James Su <[EMAIL PROTECTED]> writes:
Recently, I'm developing a IM Module for gtk+-2.x, but I
Hi,
I tried to use g_type_module_register_type () to register my class. This
time, the application is never crashed, but the IM module is never
unloaded. What's the matter with it?
Regards
James Su
Owen Taylor wrote:
On Fri, 2003-03-28 at 03:31, James Su wrote:
Oh, I see. But the interface o
On Sun, 2003-03-30 at 21:32, James Su wrote:
> Hi,
> I tried to use g_type_module_register_type () to register my class. This
> time, the application is never crashed, but the IM module is never
> unloaded. What's the matter with it?
As long as there is an instance of a type, the module implemen
Hi,
Sorry to bother you again. Does it mean, if I create an instance of this
type within my immodule, then my module will never be unloaded? Because
im_module_exit will never be called if there is an instance living, but
the instance must be destroyed within im_module_exit. Looks like a black
h
On Tue, 2003-04-01 at 00:55, James Su wrote:
> Hi,
> Sorry to bother you again. Does it mean, if I create an instance of this
> type within my immodule, then my module will never be unloaded? Because
> im_module_exit will never be called if there is an instance living, but
> the instance must be
16 matches
Mail list logo