aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-field-chooser.c
diff options
context:
space:
mode:
authorRadek Doulik <rodo@src.gnome.org>2004-06-09 23:05:16 +0800
committerRadek Doulik <rodo@src.gnome.org>2004-06-09 23:05:16 +0800
commit964fb4ac7aaa2759eb9a0ed71f3b0aa8a8e16466 (patch)
tree67ec8e58c88fa73f17cb6b45185f65338736bbd6 /widgets/table/e-table-field-chooser.c
parent40256a9748eabaa2d4e9e83c10bfa20e5c007534 (diff)
downloadgsoc2013-evolution-964fb4ac7aaa2759eb9a0ed71f3b0aa8a8e16466.tar.gz
gsoc2013-evolution-964fb4ac7aaa2759eb9a0ed71f3b0aa8a8e16466.tar.zst
gsoc2013-evolution-964fb4ac7aaa2759eb9a0ed71f3b0aa8a8e16466.zip
(ensure_nonzero_step_increments): set step increments always to 16
svn path=/trunk/; revision=26269
Diffstat (limited to 'widgets/table/e-table-field-chooser.c')
-rw-r--r--widgets/table/e-table-field-chooser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/table/e-table-field-chooser.c b/widgets/table/e-table-field-chooser.c
index 7da48d1322..25b94b2aca 100644
--- a/widgets/table/e-table-field-chooser.c
+++ b/widgets/table/e-table-field-chooser.c
@@ -106,9 +106,9 @@ ensure_nonzero_step_increments (ETableFieldChooser *etfc)
it looks pretty complicated to get height of column header
so use 16 pixels which should be OK
*/
- if (va && va->step_increment == 0.0)
+ if (va)
va->step_increment = 16.0;
- if (ha && ha->step_increment == 0.0)
+ if (ha)
ha->step_increment = 16.0;
}