summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/appwindow.c
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2004-08-19 00:25:27 +0000
committerManish Singh <yosh@src.gnome.org>2004-08-19 00:25:27 +0000
commita1f93eb16c699b60818e950953a50a73fb59759e (patch)
tree705c8cc2aa74d1a5be9aa06f8c637ac498b6f3ab /demos/gtk-demo/appwindow.c
parentba6fc3ccd8358a451bcd1f0eb40eda2b67ad4f2b (diff)
downloadgtk+-a1f93eb16c699b60818e950953a50a73fb59759e.tar.gz
demos/testpixbuf-save.c Get rid of some unnecessary casts.
Wed Aug 18 17:25:26 2004 Manish Singh <yosh@gimp.org> * demos/testpixbuf-save.c * demos/gtk-demo/hypertext.c: Get rid of some unnecessary casts. * demos/gtk-demo/appwindow.c: Make activate_email and activate_url match the arguments for GtkAboutDialogActivateLinkFunc.
Diffstat (limited to 'demos/gtk-demo/appwindow.c')
-rw-r--r--demos/gtk-demo/appwindow.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/demos/gtk-demo/appwindow.c b/demos/gtk-demo/appwindow.c
index a3323bb20a..3d3b746497 100644
--- a/demos/gtk-demo/appwindow.c
+++ b/demos/gtk-demo/appwindow.c
@@ -64,14 +64,16 @@ activate_radio_action (GtkAction *action, GtkRadioAction *current)
static void
activate_email (GtkAboutDialog *about,
- const gchar *link)
+ const gchar *link,
+ gpointer data)
{
g_print ("send mail to %s\n", link);
}
static void
activate_url (GtkAboutDialog *about,
- const gchar *link)
+ const gchar *link,
+ gpointer data)
{
g_print ("show url %s\n", link);
}