Re: [Ekiga-devel-list] Ekiga 3.3.0 crash on selecting menu



Hello Julien !

> Le 24/01/2011 11:13, g trentalancia libero it a écrit :
>> It's the new Gtk function at line 144 of lib/gui/gmmenuaddon.c that
>> breaks the code:
>>
>> #if GTK_CHECK_VERSION (2, 21, 2) */
>>          gtk_statusbar_remove_all (GTK_STATUSBAR (statusbar), id); */
>> #else */
>>
>> Reverted back to the old code (commented out #if block) and everything goes
>> back to normal...

> This is very interesting.
>
> Could you add something like :
> g_printf ("here we have id=%d\n", id);
> just before the line :
> gtk_statusbar_remove_all (GTK_STATUSBAR (statusbar), id);
> and report on what it says?

But you have the context in the stack backtrace (from the called function):

#6  IA__gtk_statusbar_remove_all (statusbar=0x86fd500, context_id=1) at 
gtkstatusbar.c:521
#7  0xb7e37dcb in menu_item_selected (w=0x86fd6e0, data=0x0) at ..
/lib/gui/gmmenuaddon.c:144

It's of type guint, not gint by the way.

Regards,

Guido


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