summaryrefslogtreecommitdiff
path: root/examples/pixmap
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/pixmap
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/pixmap')
-rw-r--r--examples/pixmap/pixmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pixmap/pixmap.c b/examples/pixmap/pixmap.c
index 4a4c29500..21e2d47fc 100644
--- a/examples/pixmap/pixmap.c
+++ b/examples/pixmap/pixmap.c
@@ -31,7 +31,7 @@ static const char * xpm_data[] = {
/* when invoked (via signal delete_event), terminates the application.
*/
-void close_application( GtkWidget *widget, gpointer *data ) {
+void close_application( GtkWidget *widget, GdkEvent *event, gpointer *data ) {
gtk_main_quit();
}