Re: [gtk-list] toggle button

Alexander Kotelnikov <> 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 

[ 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]