datetime: Fix warning running callback before objects are created
The following warning occurs when the datetime panel is created: (gnome-control-center:3173): GLib-GIO-CRITICAL **: 09:18:38.531: g_settings_get_value: assertion 'G_IS_SETTINGS (settings)' failed This is due to the callback being called before the settings object is created
This commit is contained in:
parent
b9c44d7673
commit
216736b8dd
1 changed files with 0 additions and 1 deletions
|
@ -1215,7 +1215,6 @@ cc_date_time_panel_init (CcDateTimePanel *self)
|
|||
{
|
||||
g_signal_connect (self->permission, "notify",
|
||||
G_CALLBACK (on_permission_changed), self);
|
||||
on_permission_changed (self->permission, NULL, self);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue