Re: How to ask if a widget is GtkMenuBar or GtkMenuItem



Ignacio Nodal <inodal teleline es> writes: 
> and it's a GtkMenuBar I get a GTK-Critical:
> 
> Gtk-WARNING **: invalid class type `(unknown)' in cast to
> `GtkMenuItem'

That won't happen if "parent" is a valid object.
Your "parent" variable is pointing to junk memory or something.

Havoc




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