Closed jtojnar closed 1 year ago
GLib 2.73.1 no longer fires notify signal for properties set during instantiation. This resulted in the label remaining empty. Now, the Grid.update_day would also run and set date property but that did not have an effect – probably because the date did not change.
Grid.update_day
date
We need to set the initial label ourselves. To avoid code duplication, we can just use GBinding.
GBinding
Fixes: https://github.com/elementary/calendar/issues/761
cc @bobby285271
Thanks, applied the suggestions, seems to still work fine.
GLib 2.73.1 no longer fires notify signal for properties set during instantiation. This resulted in the label remaining empty. Now, the
Grid.update_day
would also run and setdate
property but that did not have an effect – probably because the date did not change.We need to set the initial label ourselves. To avoid code duplication, we can just use
GBinding
.Fixes: https://github.com/elementary/calendar/issues/761
cc @bobby285271