gnome-maps:wip/mlundblad/remove-more-gtk-widget-destroy

Last commit made on 2021-04-24
Get this branch:
git clone -b wip/mlundblad/remove-more-gtk-widget-destroy https://git.launchpad.net/gnome-maps

Branch merges

Branch information

Name:
wip/mlundblad/remove-more-gtk-widget-destroy
Repository:
lp:gnome-maps

Recent commits

8b9325f... by ml@update.uu.se

layersPopover: Stop using gtk_container_get_children()

GtkContainer is removed in GTK 4. Prepare by
using specific API in GtkListBox instead.

142dbe2... by ml@update.uu.se

mapMarker: Stop using gtk_widget_destroy()

destroy() will only be supported for top-levels in GTK 4.
And this call seemed unnessary, as the popover is closed, and
should have been de-referenced anyway.

e787052... by ml@update.uu.se

socialPlaceListBox: Stop using gtk_widget_destroy()

destroy() will only work for top-levels in GTK 4.
Prepare by using container-specific methods to
remove children.

cc698bd... by ml@update.uu.se

osmEditDialog: Stop using gtk_widget_destroy()

gtk_widget_destroy() will only work for top-levels in GTK 4.
Prepare by replacing these with container-specific methods to
remove children.

0ddec9e... by ml@update.uu.se

sidebar: Stop using gtk_widget_destroy

destroy() will only work for top-levels in GTK 4.
Prepare by using container-specific methods to
remove children.

3281a73... by ml@update.uu.se

placeView: Set hexpand on details box

b10edea... by ml@update.uu.se

sidebar: Grey-out transit switch when not available

Due to a bug in GTK where setting visible false on a linked
button not working properly, we used to call destroy()
on this button when transit providers where not available.
Since calling destroy() on widgets will not be supported
in GTK 4 and we could instead dim the button in this case
as this feature has now been exposed by default for a while.
And originally it was hidden since the feature where itself
hidden.

83a3e1b... by Andre Klapper

Fix broken markup in Hebrew UI translation

5fcda89... by ml@update.uu.se

storedRoute: Implement icon name method

Instead of creating the Gio.Icon, just implement
the _getIconName() method from Place and let
the icon() getter in Place handle the task
of creating the icon instance.

70b2504... by ml@update.uu.se

place: Return place icon based on osmType and osmValue