1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-13 16:07:36 +00:00

settings: Chain up to parents constructed() early

Not strictly necessary since we're not depending on anything the parents
constructed() might be doing, but it's a good practice.
This commit is contained in:
Evangelos Ribeiro Tzaras 2021-11-23 14:25:06 +01:00
parent b49041a3f2
commit a63023e315

View file

@ -115,14 +115,14 @@ calls_settings_constructed (GObject *object)
{
CallsSettings *self = CALLS_SETTINGS (object);
G_OBJECT_CLASS (calls_settings_parent_class)->constructed (object);
g_settings_bind (self->settings, "auto-use-default-origins",
self, "auto-use-default-origins", G_SETTINGS_BIND_DEFAULT);
g_settings_bind (self->settings, "country-code",
self, "country-code", G_SETTINGS_BIND_DEFAULT);
g_settings_bind (self->settings, "autoload-plugins",
self, "autoload-plugins", G_SETTINGS_BIND_DEFAULT);
G_OBJECT_CLASS (calls_settings_parent_class)->constructed (object);
}