Re: How to ask if a widget is GtkMenuBar or GtkMenuItem
- From: Havoc Pennington <hp redhat com>
- To: Ignacio Nodal <inodal teleline es>
- Cc: GTK-List <gtk-list gnome org>
- Subject: Re: How to ask if a widget is GtkMenuBar or GtkMenuItem
- Date: 14 Jan 2002 17:26:58 -0500
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]