[gtk+/combo-refactor: 54/56] Fixed gtktreemenu for new gtkcellareabox api.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/combo-refactor: 54/56] Fixed gtktreemenu for new gtkcellareabox api.
- Date: Thu, 30 Dec 2010 08:31:24 +0000 (UTC)
commit 8d9bf12bb448d730d7dbe82a50fda50c9530d52c
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Tue Dec 21 21:50:02 2010 +0900
Fixed gtktreemenu for new gtkcellareabox api.
tests/testtreemenu.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/testtreemenu.c b/tests/testtreemenu.c
index 2d13e3d..9e22367 100644
--- a/tests/testtreemenu.c
+++ b/tests/testtreemenu.c
@@ -285,12 +285,12 @@ create_cell_area (void)
area = gtk_cell_area_box_new ();
cell_1 = renderer = gtk_cell_renderer_text_new ();
- gtk_cell_area_box_pack_start (GTK_CELL_AREA_BOX (area), renderer, FALSE, FALSE);
+ gtk_cell_area_box_pack_start (GTK_CELL_AREA_BOX (area), renderer, FALSE, FALSE, FALSE);
gtk_cell_area_attribute_connect (area, renderer, "text", SIMPLE_COLUMN_NAME);
cell_2 = renderer = gtk_cell_renderer_pixbuf_new ();
g_object_set (G_OBJECT (renderer), "xalign", 0.0F, NULL);
- gtk_cell_area_box_pack_start (GTK_CELL_AREA_BOX (area), renderer, TRUE, FALSE);
+ gtk_cell_area_box_pack_start (GTK_CELL_AREA_BOX (area), renderer, TRUE, FALSE, FALSE);
gtk_cell_area_attribute_connect (area, renderer, "stock-id", SIMPLE_COLUMN_ICON);
cell_3 = renderer = gtk_cell_renderer_text_new ();
@@ -298,7 +298,7 @@ create_cell_area (void)
"wrap-mode", PANGO_WRAP_WORD,
"wrap-width", 215,
NULL);
- gtk_cell_area_box_pack_start (GTK_CELL_AREA_BOX (area), renderer, FALSE, TRUE);
+ gtk_cell_area_box_pack_start (GTK_CELL_AREA_BOX (area), renderer, FALSE, TRUE, FALSE);
gtk_cell_area_attribute_connect (area, renderer, "text", SIMPLE_COLUMN_DESCRIPTION);
return area;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]