[gtk+/composite-templates] docs: Fix up the RadioButton example in the description
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/composite-templates] docs: Fix up the RadioButton example in the description
- Date: Fri, 14 Sep 2012 21:13:33 +0000 (UTC)
commit c5908a3d84ee6a80a424da7f41f3380b726cf167
Author: Emmanuele Bassi <ebassi gnome org>
Date: Mon Aug 20 11:02:37 2012 +0100
docs: Fix up the RadioButton example in the description
gtk/gtkradiobutton.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkradiobutton.c b/gtk/gtkradiobutton.c
index ec6c2c6..82ab28c 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]