diff options
author | Matthias Clasen <maclas@gmx.de> | 2004-08-13 01:10:38 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-08-13 01:10:38 +0000 |
commit | ff8c35e557bdaa65f8d9a7c560a738c156fcbd76 (patch) | |
tree | 25107056d765de2647f21abd37664545bee5a335 /gtk/gtkaboutdialog.h | |
parent | e4ec4f371030a4db9407f49fb3bccff7b742d612 (diff) | |
download | gtk+-ff8c35e557bdaa65f8d9a7c560a738c156fcbd76.tar.gz |
Adjust to GtkAboutDialog API changes.
Thu Aug 12 21:02:57 2004 Matthias Clasen <maclas@gmx.de>
* demos/gtk-demo/appwindow.c (about_cb): Adjust to GtkAboutDialog API changes.
* gtk/gtkaboutdialog.h:
* gtk/gtkaboutdialog.c (gtk_about_dialog_set_email_hook):
(gtk_about_dialog_set_url_hook): Add callback data and destroy notify
for language bindings. (#149999, Olivier Andrieu)
Diffstat (limited to 'gtk/gtkaboutdialog.h')
-rw-r--r-- | gtk/gtkaboutdialog.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gtk/gtkaboutdialog.h b/gtk/gtkaboutdialog.h index 6386e20577..7c58eee160 100644 --- a/gtk/gtkaboutdialog.h +++ b/gtk/gtkaboutdialog.h @@ -102,10 +102,15 @@ void gtk_about_dialog_set_logo (GtkAboutDialog GdkPixbuf *logo); 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); + const gchar *link, + gpointer data); + +GtkAboutDialogActivateLinkFunc gtk_about_dialog_set_email_hook (GtkAboutDialogActivateLinkFunc func, + gpointer data, + GDestroyNotify destroy); +GtkAboutDialogActivateLinkFunc gtk_about_dialog_set_url_hook (GtkAboutDialogActivateLinkFunc func, + gpointer data, + GDestroyNotify destroy); G_END_DECLS |