RE: About dialog API



> From: Owen Taylor [mailto:otaylor redhat com] 
> To: Matthias Clasen
> > But we are not, or are we ? The last API proposal was
> > 
> > void       gtk_about_dialog_show     (GtkWindow    *parent,
> > 				      GdkPixbuf    *logo,
> > 				      const gchar  *name,
> > 				      const gchar  *version,
> > 				      const gchar  *copyright,
> > 				      const gchar  *comments,
> > 				      const gchar **authors,
> > 				      const gchar **documenters,
> > 				      const gchar  *translator_credits);

> I really dislike the 9 argument form above, and it just 
> gets worse if you add build ID, license expiration date, etc. 
> I'm pretty sure we need an extensible API of some sort.

Could someone remind me why we need all this in one function. Why can't we
use multiple setters?

Murray Cumming
murrayc usa net
www.murrayc.com 



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