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 704638 - error domain can't be zero
error domain can't be zero
Status: RESOLVED FIXED
Product: dconf
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: dconf-maint
dconf-maint
Depends on:
Blocks:
 
 
Reported: 2013-07-21 13:43 UTC by Stefano Facchini
Modified: 2013-11-25 18:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix a warning about error domain != 0 (747 bytes, patch)
2013-07-21 13:44 UTC, Stefano Facchini
none Details | Review
Add DCONF_ERROR error domain (6.66 KB, patch)
2013-11-25 03:22 UTC, Allison Karlitskaya (desrt)
committed Details | Review

Description Stefano Facchini 2013-07-21 13:43:37 UTC
Trying e.g.

$ dconf read

without arguments I get

(dconf:22417): GLib-WARNING **: (gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)
Comment 1 Stefano Facchini 2013-07-21 13:44:03 UTC
Created attachment 249746 [details] [review]
Fix a warning about error domain != 0

Using the same quark string from engine/dconf-engine.h
Comment 2 Allison Karlitskaya (desrt) 2013-11-25 03:22:31 UTC
Created attachment 261383 [details] [review]
Add DCONF_ERROR error domain

Add a DCONF_ERROR error domain with associated DConfError enum type.

Use this instead of the adhoc approach that we've been taking up to this
point.
Comment 3 Allison Karlitskaya (desrt) 2013-11-25 18:01:14 UTC
Attachment 261383 [details] pushed as 2fbcd57 - Add DCONF_ERROR error domain