diff options
author | BST 1998 Tony Gale <gale@gtk.org> | 1998-05-29 12:43:18 +0000 |
---|---|---|
committer | Tony Gale <gale@src.gnome.org> | 1998-05-29 12:43:18 +0000 |
commit | 79538134537dabf029f8d3d476844aafe2a60ad5 (patch) | |
tree | 9eee5fd859a709f4bd31646a0bead92577ea90ac /examples/helloworld2 | |
parent | 99fdc828ebb377bc8317c58328ae4df678d85148 (diff) | |
download | gtk+-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/helloworld2')
-rw-r--r-- | examples/helloworld2/helloworld2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/helloworld2/helloworld2.c b/examples/helloworld2/helloworld2.c index 6e1ea54ac4..4f6d692e94 100644 --- a/examples/helloworld2/helloworld2.c +++ b/examples/helloworld2/helloworld2.c @@ -12,7 +12,7 @@ void callback (GtkWidget *widget, gpointer *data) } /* another callback */ -void delete_event (GtkWidget *widget, gpointer *data) +void delete_event (GtkWidget *widget, GdkEvent *event, gpointer *data) { gtk_main_quit (); } |