summaryrefslogtreecommitdiff
path: root/examples/packbox
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2002-02-25 01:47:44 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2002-02-25 01:47:44 +0000
commit9f1363013fe5e3def58a007b6c109be93d4e5702 (patch)
treebfd35007c9638a34d6904db1ffd30b38ebc949ec /examples/packbox
parent4d06c9d09f5e8befceb297aa426f293f58248888 (diff)
downloadgtk+-9f1363013fe5e3def58a007b6c109be93d4e5702.tar.gz
More GTK+ 2.0 updates.
* docs/tutorial/gtk-tut.sgml, docs/tutorial/images/*, examples/*: More GTK+ 2.0 updates. * docs/tutorial/Makefile.am: build and dist the new tutorial, not the old Linuxdoc one.
Diffstat (limited to 'examples/packbox')
-rw-r--r--examples/packbox/packbox.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/packbox/packbox.c b/examples/packbox/packbox.c
index 71476e422b..fe411625d2 100644
--- a/examples/packbox/packbox.c
+++ b/examples/packbox/packbox.c
@@ -14,11 +14,11 @@ gint delete_event( GtkWidget *widget,
/* Make a new hbox filled with button-labels. Arguments for the
* variables we're interested are passed in to this function.
* We do not show the box, but do show everything inside. */
-GtkWidget *make_box( gint homogeneous,
- gint spacing,
- gint expand,
- gint fill,
- gint padding )
+GtkWidget *make_box( gboolean homogeneous,
+ gint spacing,
+ gboolean expand,
+ gboolean fill,
+ guint padding )
{
GtkWidget *box;
GtkWidget *button;
@@ -285,7 +285,7 @@ int main( int argc,
gtk_main ();
/* Control returns here when gtk_main_quit() is called, but not when
- * gtk_exit is used. */
+ * exit() is used. */
return 0;
}