summaryrefslogtreecommitdiff
path: root/examples/notebook/notebook.c
diff options
context:
space:
mode:
authorBST 1998 Tony Gale <gale@gtk.org>1998-05-29 12:43:18 +0000
committerTony Gale <gale@src.gnome.org>1998-05-29 12:43:18 +0000
commit79538134537dabf029f8d3d476844aafe2a60ad5 (patch)
tree9eee5fd859a709f4bd31646a0bead92577ea90ac /examples/notebook/notebook.c
parent99fdc828ebb377bc8317c58328ae4df678d85148 (diff)
downloadgtk+-79538134537dabf029f8d3d476844aafe2a60ad5.tar.gz
- new section on Events - change all delete_event callbacks to include a
Fri May 29 13:53:57 BST 1998 Tony Gale <gale@gtk.org> * docs/gtk_tut.sgml: - new section on Events - change all delete_event callbacks to include a GdkEvent parameter - clean up the formatting * examples - helloworld.c, helloworld2.c, notebook.c, packbox.c, pixmap.c, progressbar.c, radiobuttons.c, rulers.c, table.c, wheelbarrow.c: change all delete_event callbacks to include a GdkEvent parameter.
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 ();
}