RE: [gtk-list] data in callbacks and file selection widget pointers





> I get warnings that I am passing an incompatible pointer type when I call
> gtk_widget_destroy on fs.  It works, however.  What do I need to do to get
> rid of that warning?

Cast it to a (GtkWidget *).
gtk_widget_destroy works with just that - widgets, not file selections,
hence the warning.

hth,

Lee.



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