[gtk+/widget-expand-3] Set fill options on all children
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/widget-expand-3] Set fill options on all children
- Date: Mon, 11 Oct 2010 18:00:30 +0000 (UTC)
commit a0950f0f544b2d9aea333cbfb6ce8975a18df416
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Oct 11 13:56:36 2010 -0400
Set fill options on all children
tests/testexpand.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/tests/testexpand.c b/tests/testexpand.c
index 35d4302..c4a874d 100644
--- a/tests/testexpand.c
+++ b/tests/testexpand.c
@@ -150,19 +150,19 @@ create_table_window (void)
gtk_table_attach (GTK_TABLE (table),
gtk_label_new ("Top"),
1, 2, 0, 1,
- 0, 0, 0, 0);
+ GTK_FILL, GTK_FILL, 0, 0);
gtk_table_attach (GTK_TABLE (table),
gtk_label_new ("Bottom"),
1, 2, 3, 4,
- 0, 0, 0, 0);
+ GTK_FILL, GTK_FILL, 0, 0);
gtk_table_attach (GTK_TABLE (table),
gtk_label_new ("Left"),
0, 1, 1, 3,
- 0, 0, 0, 0);
+ GTK_FILL, GTK_FILL, 0, 0);
gtk_table_attach (GTK_TABLE (table),
gtk_label_new ("Right"),
2, 3, 1, 3,
- 0, 0, 0, 0);
+ GTK_FILL, GTK_FILL, 0, 0);
gdk_color_parse ("red", &red);
gdk_color_parse ("blue", &blue);
@@ -182,7 +182,7 @@ create_table_window (void)
gtk_table_attach (GTK_TABLE (table),
colorbox,
1, 2, 1, 2,
- 0, 0, 0, 0);
+ GTK_FILL, GTK_FILL, 0, 0);
colorbox = gtk_event_box_new ();
gtk_widget_modify_bg (colorbox, GTK_STATE_NORMAL, &blue);
@@ -199,7 +199,7 @@ create_table_window (void)
gtk_table_attach (GTK_TABLE (table),
colorbox,
1, 2, 2, 3,
- 0, 0, 0, 0);
+ GTK_FILL, GTK_FILL, 0, 0);
gtk_container_add (GTK_CONTAINER (window), table);
gtk_widget_show_all (window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]