aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-04-13 05:57:35 +0800
committerMilan Crha <mcrha@redhat.com>2010-04-13 05:57:35 +0800
commitcbbc0a2c1f8e085fac314df90a940999fdc60b51 (patch)
treeaa5c3dbbb2bb1e6b3be86b37ed27acbd4e301338 /widgets
parentc0855fa50a3bd29facbbbe4122409cf36050a66a (diff)
downloadgsoc2013-evolution-cbbc0a2c1f8e085fac314df90a940999fdc60b51.tar
gsoc2013-evolution-cbbc0a2c1f8e085fac314df90a940999fdc60b51.tar.gz
gsoc2013-evolution-cbbc0a2c1f8e085fac314df90a940999fdc60b51.tar.bz2
gsoc2013-evolution-cbbc0a2c1f8e085fac314df90a940999fdc60b51.tar.lz
gsoc2013-evolution-cbbc0a2c1f8e085fac314df90a940999fdc60b51.tar.xz
gsoc2013-evolution-cbbc0a2c1f8e085fac314df90a940999fdc60b51.tar.zst
gsoc2013-evolution-cbbc0a2c1f8e085fac314df90a940999fdc60b51.zip
Bug #615263 - SIGSEGV on Evolution close in e-tree.c:1990
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/e-tree.c8
1 files changed, 4 insertions, 4 deletions
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);