summaryrefslogtreecommitdiff
path: root/gtk/gtkradiobutton.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2012-08-20 11:02:37 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2012-08-20 11:03:17 +0100
commit78107b1a7d022a1282b5becd7c23e11d6ab02844 (patch)
tree8ee79fc8cb60faef92124659c438f0dc2b1e144d /gtk/gtkradiobutton.c
parentf3177aff044ccf7f70d00f104e682a436a781c58 (diff)
downloadgtk+-78107b1a7d022a1282b5becd7c23e11d6ab02844.tar.gz
docs: Fix up the RadioButton example in the description
Diffstat (limited to 'gtk/gtkradiobutton.c')
-rw-r--r--gtk/gtkradiobutton.c3
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);
*
* /&ast; Create a radio button with a GtkEntry widget &ast;/
* radio1 = gtk_radio_button_new (NULL);