Commit 72fa2ffc authored by Morten Welinder's avatar Morten Welinder

Sheet: chain ->constructed early.

Docs aren't terribly clear, but that seems right.
parent 0cefc165
2016-01-01 Morten Welinder <terra@gnome.org>
* src/sheet.c (gnm_sheet_constructed): Chain ->constructed early.
* src/expr-name.c (expr_name_add): Improve check for circular name
defintion. Fixes #760046.
......
......@@ -673,6 +673,9 @@ gnm_sheet_constructed (GObject *obj)
{
Sheet *sheet = SHEET (obj);
if (parent_class->constructed)
parent_class->constructed (obj);
/* Now sheet_type, max_cols, and max_rows have been set. */
sheet->being_constructed = FALSE;
......@@ -723,9 +726,6 @@ gnm_sheet_constructed (GObject *obj)
}
sheet_scale_changed (sheet, TRUE, TRUE);
if (parent_class->constructed)
parent_class->constructed (obj);
}
static guint
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment