Re: GtkImage changes



> Not even compiler warnings, since foo->priv is a void *.
> 
> And type safety is not an issue.  You know priv is what you made it to
> be.

Yeah, but you might end up with BarPrivate *bar = foo->priv, which
will produce no warnings, still being incorrect.

Tim's approach is better (and it is what we encourage people to use on
the GNOME programming thing)

Miguel.




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