summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2004-08-13 01:10:38 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-08-13 01:10:38 +0000
commitff8c35e557bdaa65f8d9a7c560a738c156fcbd76 (patch)
tree25107056d765de2647f21abd37664545bee5a335 /demos
parente4ec4f371030a4db9407f49fb3bccff7b742d612 (diff)
downloadgtk+-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 'demos')
-rw-r--r--demos/gtk-demo/appwindow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/gtk-demo/appwindow.c b/demos/gtk-demo/appwindow.c
index fd6d7c85e9..a3323bb20a 100644
--- a/demos/gtk-demo/appwindow.c
+++ b/demos/gtk-demo/appwindow.c
@@ -126,8 +126,8 @@ about_cb (GtkAction *action,
g_object_unref (pixbuf);
}
- gtk_about_dialog_set_email_hook (activate_email);
- gtk_about_dialog_set_url_hook (activate_url);
+ gtk_about_dialog_set_email_hook (activate_email, NULL, NULL);
+ gtk_about_dialog_set_url_hook (activate_url, NULL, NULL);
gtk_show_about_dialog (GTK_WINDOW (window),
"name", "GTK+ Code Demos",
"version", "2.4.3",