Re: [gtk-list] toggle button
- From: Owen Taylor <otaylor redhat com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] toggle button
- Date: Sat, 30 Jan 1999 16:10:16 -0500
Alexander Kotelnikov <sacha@AK2614.spb.edu> writes:
> I use
> gtk_toggle_button_set_active
> function, it works, but after exiting I have:
> Gtk-WARNING **: invalid cast from `GtkWindow' to `GtkToggleButton'
>
> Gtk-CRITICAL **: file gtktogglebutton.c: line 276
> (gtk_toggle_button_set_active): assertion `GTK_IS_TOGGLE_BUTTON
> (toggle_button)' failed.
>
> Do anybody know what's up?
It looks like you're passing in a GtkWindow to
gtk_toggle_button_set_active...
Owen
[ Without seeing your code, it is hard to say exactly
why this is happening, but that's what the messages
indicate ]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]