update g_connect_signal usage

Sat Aug 24 12:46:37 BST 2002  Tony Gale <gale@gtk.org>

        * docs/tutorial/gtk-tut.sgml, examples/*:
        update g_connect_signal usage

        * docs/faq/gtk-faq.html: spelling/grammar fixes
This commit is contained in:
BST 2002 Tony Gale
2002-08-24 11:53:26 +00:00
committed by Tony Gale
parent c22b614565
commit 1bfcf9ba16
22 changed files with 160 additions and 118 deletions

View File

@ -79,7 +79,7 @@ int main( int argc,
* signal could come from here, or the window manager. */
g_signal_connect_swapped (G_OBJECT (button), "clicked",
G_CALLBACK (gtk_widget_destroy),
window);
G_OBJECT (window));
/* This packs the button into the window (a gtk container). */
gtk_container_add (GTK_CONTAINER (window), button);