Casting to gtk_entry



A button function passes a 'gtk_entry' as data.
Within the called function the data is cast to
GTK_ENTRY.
An error message flags an invalid cast from
GtkButton to GtkEntry!!!!
The function simply toggles text in the entry and, having similar functions
for other widgets, I can't see anything wrong. Any suggestions?








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