From bcc3a1c7e641830622690116907c02b7f89183d7 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 17 Jul 2014 12:46:38 +0200 Subject: Add missing chain-up-s to parent's constructed() method Plus a little code cleanup for easier grepping. --- e-util/e-html-editor.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'e-util/e-html-editor.c') diff --git a/e-util/e-html-editor.c b/e-util/e-html-editor.c index aeae5373b0..2106801720 100644 --- a/e-util/e-html-editor.c +++ b/e-util/e-html-editor.c @@ -598,11 +598,13 @@ html_editor_constructed (GObject *object) EHTMLEditor *editor = E_HTML_EDITOR (object); EHTMLEditorPrivate *priv = editor->priv; GtkIMMulticontext *im_context; - GtkWidget *widget; GtkToolbar *toolbar; GtkToolItem *tool_item; + /* Chain up to parent's method. */ + G_OBJECT_CLASS (e_html_editor_parent_class)->constructed (object); + /* Construct the editing toolbars. */ widget = e_html_editor_get_managed_widget (editor, "/edit-toolbar"); -- cgit v1.2.3