diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2012-08-20 11:02:37 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2012-08-20 11:03:17 +0100 |
commit | 78107b1a7d022a1282b5becd7c23e11d6ab02844 (patch) | |
tree | 8ee79fc8cb60faef92124659c438f0dc2b1e144d /gtk/gtkradiobutton.c | |
parent | f3177aff044ccf7f70d00f104e682a436a781c58 (diff) | |
download | gtk+-78107b1a7d022a1282b5becd7c23e11d6ab02844.tar.gz |
docs: Fix up the RadioButton example in the description
Diffstat (limited to 'gtk/gtkradiobutton.c')
-rw-r--r-- | gtk/gtkradiobutton.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkradiobutton.c b/gtk/gtkradiobutton.c index ec6c2c6357..82ab28cb9d 100644 --- a/gtk/gtkradiobutton.c +++ b/gtk/gtkradiobutton.c @@ -75,7 +75,8 @@ * * GtkWidget *window, *radio1, *radio2, *box, *entry; * window = gtk_window_new (GTK_WINDOW_TOPLEVEL); - * box = gtk_box_new (GTK_ORIENTATION_VERTICAL, TRUE, 2); + * box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 2); + * gtk_box_set_homogeneous (GTK_BOX (box), TRUE); * * /* Create a radio button with a GtkEntry widget */ * radio1 = gtk_radio_button_new (NULL); |