From cbbc0a2c1f8e085fac314df90a940999fdc60b51 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Mon, 12 Apr 2010 23:57:35 +0200 Subject: Bug #615263 - SIGSEGV on Evolution close in e-tree.c:1990 --- widgets/table/e-tree.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'widgets') diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c index 3f7ab111fa..586544900d 100644 --- a/widgets/table/e-tree.c +++ b/widgets/table/e-tree.c @@ -1985,10 +1985,6 @@ set_scroll_adjustments (ETree *tree, GtkAdjustment *hadjustment, GtkAdjustment *vadjustment) { - GtkLayout *layout; - - layout = GTK_LAYOUT (tree->priv->table_canvas); - if (vadjustment != NULL) gtk_adjustment_set_step_increment (vadjustment, 20); @@ -1996,6 +1992,10 @@ set_scroll_adjustments (ETree *tree, gtk_adjustment_set_step_increment (hadjustment, 20); if (tree->priv) { + GtkLayout *layout; + + layout = GTK_LAYOUT (tree->priv->table_canvas); + gtk_layout_set_hadjustment (layout, hadjustment); gtk_layout_set_vadjustment (layout, vadjustment); -- cgit