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 651391 - [patch] add g_settings_exists()
[patch] add g_settings_exists()
Status: RESOLVED DUPLICATE of bug 651366
Product: glib
Classification: Platform
Component: gsettings
2.29.x
Other Linux
: Normal normal
: ---
Assigned To: Allison Karlitskaya (desrt)
gtkdev
Depends on:
Blocks:
 
 
Reported: 2011-05-29 13:45 UTC by ecyrbe
Modified: 2011-05-29 15:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
the patch (2.24 KB, patch)
2011-05-29 13:45 UTC, ecyrbe
none Details | Review

Description ecyrbe 2011-05-29 13:45:00 UTC
This patch add a facility to check wether or not a schemas is installed on the computer.
This allows for easy checking before calling g_settings_new() especially for plugins.
Comment 1 ecyrbe 2011-05-29 13:45:42 UTC
Created attachment 188844 [details] [review]
the patch
Comment 2 Christian Persch 2011-05-29 14:15:02 UTC
IMHO using GInitiable would be more in line with the general API of GIO, although that proposal was rejected before (bug 620642 has an old patch).
Comment 3 Allison Karlitskaya (desrt) 2011-05-29 14:36:53 UTC
Please stop opening new bugs about this.  Matthias has already closed 2 of them and you've now made two more.

*** This bug has been marked as a duplicate of bug 651366 ***
Comment 4 ecyrbe 2011-05-29 15:23:48 UTC
this is not duplicate, it's a report to submit different patch.
if you don't want contributors, just say so.