After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 787693 - Trying to access stack member before being created
Trying to access stack member before being created
Status: RESOLVED FIXED
Product: gnome-maps
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gnome-maps-maint
gnome-maps-maint
Depends on:
Blocks:
 
 
Reported: 2017-09-14 19:34 UTC by Marcus Lundblad
Modified: 2017-09-14 19:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
sidebar: Insert transit options panel before first use (1.53 KB, patch)
2017-09-14 19:47 UTC, Marcus Lundblad
committed Details | Review

Description Marcus Lundblad 2017-09-14 19:34:42 UTC
Due to not being able to insert the routing options panel widget directly in the sidebar from the UI template, we create it manually in sidebar.js, however it accessed before that when setting up routing mode from the saved value, giving the following warn:

(org.gnome.Maps:1100): Gtk-WARNING **: Child name 'options' not found in GtkStack
Comment 1 Marcus Lundblad 2017-09-14 19:47:12 UTC
Created attachment 359819 [details] [review]
sidebar: Insert transit options panel before first use

Avoid a warning on startup.
Comment 2 Marcus Lundblad 2017-09-14 19:49:03 UTC
Attachment 359819 [details] pushed as 0e55b60 - sidebar: Insert transit options panel before first use