aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-tree.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-01-09 22:29:11 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:16 +0800
commit70bbf2c088b424b1d58c2d18c875c63ea1de0376 (patch)
treeb92a445d353d539fc6add95343d44461c938e4d3 /widgets/table/e-tree.c
parent6dbac501406deddd1cb493304e3f1f57cd075a2e (diff)
downloadgsoc2013-evolution-70bbf2c088b424b1d58c2d18c875c63ea1de0376.tar.gz
gsoc2013-evolution-70bbf2c088b424b1d58c2d18c875c63ea1de0376.tar.zst
gsoc2013-evolution-70bbf2c088b424b1d58c2d18c875c63ea1de0376.zip
ETree: Fix runtime warnings with GTK3.
ETable has a "vertical-spacing" style property, ETree does not. ECellText expects it to be in both.
Diffstat (limited to 'widgets/table/e-tree.c')
-rw-r--r--widgets/table/e-tree.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c
index 5f0effaac8..8d718b0235 100644
--- a/widgets/table/e-tree.c
+++ b/widgets/table/e-tree.c
@@ -3584,6 +3584,17 @@ e_tree_class_init (ETreeClass *class)
10,
G_PARAM_READABLE));
+ gtk_widget_class_install_style_property (
+ widget_class,
+ g_param_spec_int (
+ "vertical-spacing",
+ "Vertical Row Spacing",
+ "Vertical space between rows. "
+ "It is added to top and to bottom of a row",
+ 0, G_MAXINT, 3,
+ G_PARAM_READABLE |
+ G_PARAM_STATIC_STRINGS));
+
gal_a11y_e_tree_init ();
}