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 788862 - model: Deal with possible null of SettingsSchemaSource.get_default()
model: Deal with possible null of SettingsSchemaSource.get_default()
Status: RESOLVED FIXED
Product: dconf-editor
Classification: Other
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: dconf-editor maintainer(s)
dconf-editor maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-10-12 07:38 UTC by Rico Tzschichholz
Modified: 2017-10-12 12:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
model: Deal with possible null of SettingsSchemaSource.get_default() (1.09 KB, patch)
2017-10-12 07:38 UTC, Rico Tzschichholz
none Details | Review

Description Rico Tzschichholz 2017-10-12 07:38:14 UTC
An introspection annotation fix in glib renders the get_default() method
nullable which causes a compile failure while using --experimental-non-null.

https://git.gnome.org/browse/glib/commit/?id=e34884e364f572d7d891f584a479e583114190aa
Comment 1 Rico Tzschichholz 2017-10-12 07:38:18 UTC
Created attachment 361404 [details] [review]
model: Deal with possible null of SettingsSchemaSource.get_default()

https://git.gnome.org/browse/glib/commit/?id=e34884e364f572d7d891f584a479e583114190aa
Comment 3 Arnaud B. 2017-10-12 11:32:30 UTC
I fixed it the complete way[1]. Thanks for the notification!

https://git.gnome.org/browse/dconf-editor/commit/?id=2b3904b911aba6736bcd8581ee7375d3019a6115
Comment 4 Rico Tzschichholz 2017-10-12 12:13:58 UTC
Thanks, I expected so.