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 519772 - gda_dict_constraint_new() uses private API
gda_dict_constraint_new() uses private API
Status: RESOLVED WONTFIX
Product: libgda
Classification: Other
Component: Client library
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: malerba
gnome-db Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-03-01 17:41 UTC by Murray Cumming
Modified: 2008-03-06 09:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Murray Cumming 2008-03-01 17:41:25 UTC
gda_dict_constraint_new() and gda_dict_constraint_new_with_db() do more than just call g_object_new(), and even use private API. These should be just convenience functions for C. Language bindings do not use them - they just call g_object_new(), sometimes with their derived GType, and sometimes call extra public functions when necessary.

Ideally, this would be fixed by some of
- Move code to the _init() function.
- Add properties.
- Add _construct(self, stuff) functions if there is no easier way.
Comment 1 malerba 2008-03-01 21:09:05 UTC
Unless you really need this for the bindings, I won't fix this because this object has been removed in V4 (for which a pre-version is not far away).
Comment 2 malerba 2008-03-06 09:00:41 UTC
This object has been removed, closing the bug.