summaryrefslogtreecommitdiff
path: root/examples/notebook/notebook.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/notebook/notebook.c')
-rw-r--r--examples/notebook/notebook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/notebook/notebook.c b/examples/notebook/notebook.c
index f7e06d38f7..fdbc9383e8 100644
--- a/examples/notebook/notebook.c
+++ b/examples/notebook/notebook.c
@@ -36,7 +36,7 @@ void remove_book (GtkButton *button, GtkNotebook *notebook)
gtk_widget_draw(GTK_WIDGET(notebook), NULL);
}
-void delete (GtkWidget *widget, gpointer *data)
+void delete (GtkWidget *widget, GdkEvent *event, gpointer *data)
{
gtk_main_quit ();
}