summaryrefslogtreecommitdiff
path: root/examples/rulers/rulers.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/rulers/rulers.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/rulers/rulers.c')
-rw-r--r--examples/rulers/rulers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rulers/rulers.c b/examples/rulers/rulers.c
index ebefa14776..4f5e427c51 100644
--- a/examples/rulers/rulers.c
+++ b/examples/rulers/rulers.c
@@ -11,7 +11,7 @@
/* this routine gets control when the close button is clicked
*/
-void close_application( GtkWidget *widget, gpointer *data ) {
+void close_application( GtkWidget *widget, GdkEvent *event, gpointer *data ) {
gtk_main_quit();
}