diff options
author | GMT 1999 Tony Gale <gale@gtk.org> | 1999-11-13 23:06:46 +0000 |
---|---|---|
committer | Tony Gale <gale@src.gnome.org> | 1999-11-13 23:06:46 +0000 |
commit | ee3d13766031e30653d82764aef92ae444015c5e (patch) | |
tree | c0d025531a52bee6a44d65babd111b6d3f04bed7 /examples/table | |
parent | e4df9fa95b83ce233c2129c3098e2727316e982b (diff) | |
download | gtk+-ee3d13766031e30653d82764aef92ae444015c5e.tar.gz |
threads example from Erik Mouw. New question on GtkLabel background
Sat Nov 13 22:30:29 GMT 1999 Tony Gale <gale@gtk.org>
* docs/gtkfaq.sgml: threads example from Erik Mouw.
New question on GtkLabel background colors.
* docs/gtk_tut.sgml:
- Correct the example code callback
function definitions.
- Update the gtkdial example code, from Frans van Schaik.
- Update setselection.c to current API.
* examples/Makefile examples/*/*.c: Update to code
listed in tutorial.
Diffstat (limited to 'examples/table')
-rw-r--r-- | examples/table/table.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/table/table.c b/examples/table/table.c index dbd9aad873..a6b020c149 100644 --- a/examples/table/table.c +++ b/examples/table/table.c @@ -11,11 +11,12 @@ void callback( GtkWidget *widget, } /* This callback quits the program */ -void delete_event( GtkWidget *widget, +gint delete_event( GtkWidget *widget, GdkEvent *event, - gpointer data ) + gpointer data ) { gtk_main_quit (); + return(FALSE); } int main( int argc, |