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 645780 - GtkMisc should be deprecated
GtkMisc should be deprecated
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
3.3.x
Other All
: Normal normal
: 3.4
Assigned To: gtk-bugs
gtk-bugs
deprecations
Depends on: 650762 651605
Blocks: 645781
 
 
Reported: 2011-03-26 20:51 UTC by Javier Jardón (IRC: jjardon)
Modified: 2014-05-13 12:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Javier Jardón (IRC: jjardon) 2011-03-26 20:51:15 UTC
The desired effect can in most cases be achieved by using the "halign", "valign" and "margin" properties on the child widget, so GtkMisc should not be used in new code.
Comment 1 Matthias Clasen 2011-05-04 12:50:30 UTC
Here is my checklist of things to do before any new deprecations:

- Ensure the new api actually fully covers all use cases of the old (can maybe use reftests)
- Make the gtk tree free of the old api
- Write good docs (migration guide), and cross-references from old to new api
- Add the actual deprecation
Comment 2 Matthias Clasen 2011-05-06 21:29:18 UTC
I've added some reftests in tests/reftests/misc-alignment.ui
Comment 3 Matthias Clasen 2012-03-02 11:57:58 UTC
GtkMisc is still used in multiple places inside gtk
Comment 4 Matthias Clasen 2014-05-13 12:46:18 UTC
Deprecated it now