diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-01-09 22:29:11 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-01-09 22:32:29 +0800 |
commit | 7a6b7673351c8597a5cf976d59fdd7fd246a78d5 (patch) | |
tree | 5c483fd9c569a93d1b51d9c79c7886f6b5ed777e /widgets/table/e-tree.c | |
parent | e80b02e40cd630946e1898b1b988a14e21ee45c4 (diff) | |
download | gsoc2013-evolution-7a6b7673351c8597a5cf976d59fdd7fd246a78d5.tar.gz gsoc2013-evolution-7a6b7673351c8597a5cf976d59fdd7fd246a78d5.tar.zst gsoc2013-evolution-7a6b7673351c8597a5cf976d59fdd7fd246a78d5.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.c | 11 |
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 (); } |