Re: About dialog api



On Sun, 2003-04-27 at 05:29, Owen Taylor wrote:
> 
> Can I suggest that much better would be:
> 
>  gtk_about_dialog_set_link_hooks ()
> 

Yes, that is much better. I went with 

typedef void (* GtkAboutDialogActivateLinkFunc) (GtkAboutDialog *about,
						 const gchar    *link);
						 
GtkAboutDialogActivateLinkFunc      gtk_about_dialog_set_email_hook
(GtkAboutDialogActivateLinkFunc func);
GtkAboutDialogActivateLinkFunc      gtk_about_dialog_set_url_hook  
(GtkAboutDialogActivateLinkFunc func);

and I also renamed gtk_about_dialog_show() to gtk_show_about_dialog(),
since the function doesn't take an about dialog as first parameter, as
the old name would have suggested.

Matthias

PS my latest version is attached to
http://bugzilla.gnome.org/show_bug.cgi?id=109435





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