- 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.
This commit is contained in:
committed by
Tony Gale
parent
99fdc828eb
commit
7953813453
@ -36,7 +36,7 @@ void remove_book (GtkButton *button, GtkNotebook *notebook)
|
||||
gtk_widget_draw(GTK_WIDGET(notebook), NULL);
|
||||
}
|
||||
|
||||
void delete (GtkWidget *widget, gpointer *data)
|
||||
void delete (GtkWidget *widget, GdkEvent *event, gpointer *data)
|
||||
{
|
||||
gtk_main_quit ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user