diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-07-11 06:57:03 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-07-11 06:57:03 +0800 |
commit | 0b7919fc139f9bd8cd7287bd1c815769f2f0bd56 (patch) | |
tree | e271019c517b287bbab9921381778905cbb26786 /widgets/table/e-table.c | |
parent | 6d83f3ed177cac1fba83011a48a248a0ff997e52 (diff) | |
download | gsoc2013-evolution-0b7919fc139f9bd8cd7287bd1c815769f2f0bd56.tar gsoc2013-evolution-0b7919fc139f9bd8cd7287bd1c815769f2f0bd56.tar.gz gsoc2013-evolution-0b7919fc139f9bd8cd7287bd1c815769f2f0bd56.tar.bz2 gsoc2013-evolution-0b7919fc139f9bd8cd7287bd1c815769f2f0bd56.tar.lz gsoc2013-evolution-0b7919fc139f9bd8cd7287bd1c815769f2f0bd56.tar.xz gsoc2013-evolution-0b7919fc139f9bd8cd7287bd1c815769f2f0bd56.tar.zst gsoc2013-evolution-0b7919fc139f9bd8cd7287bd1c815769f2f0bd56.zip |
Make sure the ETable is constructed properly, by setting the
arguments in the parent EScrollFrame class.
svn path=/trunk/; revision=4063
Diffstat (limited to 'widgets/table/e-table.c')
-rw-r--r-- | widgets/table/e-table.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c index db7ca11b3f..8a93577dbf 100644 --- a/widgets/table/e-table.c +++ b/widgets/table/e-table.c @@ -823,8 +823,11 @@ set_scroll_adjustments (ETable *table, GtkAdjustment *hadjustment, GtkAdjustment *vadjustment) { - vadjustment->step_increment = 20; - gtk_adjustment_changed(vadjustment); + if (vadjustment != NULL) { + vadjustment->step_increment = 20; + gtk_adjustment_changed(vadjustment); + } + gtk_layout_set_hadjustment (GTK_LAYOUT(table->table_canvas), hadjustment); gtk_layout_set_vadjustment (GTK_LAYOUT(table->table_canvas), |