Chain up unconditionally in GObject::constructed()

It's supported since GLib 2.28.
This commit is contained in:
Michael Natterer
2012-11-12 21:51:22 +01:00
parent c914aa805d
commit 908f727f0a
128 changed files with 129 additions and 257 deletions

View File

@ -109,8 +109,7 @@ gimp_error_console_constructed (GObject *object)
{
GimpErrorConsole *console = GIMP_ERROR_CONSOLE (object);
if (G_OBJECT_CLASS (parent_class)->constructed)
G_OBJECT_CLASS (parent_class)->constructed (object);
G_OBJECT_CLASS (parent_class)->constructed (object);
console->clear_button =
gimp_editor_add_action_button (GIMP_EDITOR (console), "error-console",