summaryrefslogtreecommitdiff
path: root/examples/packbox
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/packbox
parent99fdc828ebb377bc8317c58328ae4df678d85148 (diff)
downloadgdk-pixbuf-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/packbox')
-rw-r--r--examples/packbox/packbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/packbox/packbox.c b/examples/packbox/packbox.c
index 009d33b55..726eae55f 100644
--- a/examples/packbox/packbox.c
+++ b/examples/packbox/packbox.c
@@ -5,7 +5,7 @@
#include "gtk/gtk.h"
void
-delete_event (GtkWidget *widget, gpointer *data)
+delete_event (GtkWidget *widget, GdkEvent *event, gpointer *data)
{
gtk_main_quit ();
}