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 679457 - Add :cursor-position and deprecate :position
Add :cursor-position and deprecate :position
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: ClutterText
unspecified
Other All
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2012-07-05 15:27 UTC by Emmanuele Bassi (:ebassi)
Modified: 2012-07-11 20:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
text: Add :cursor-position and deprecate :position (4.18 KB, patch)
2012-07-05 15:27 UTC, Emmanuele Bassi (:ebassi)
committed Details | Review

Description Emmanuele Bassi (:ebassi) 2012-07-05 15:27:51 UTC
SSIA

The ClutterText:position is badly named, does not respect the API style of matching GObject property names to their C accessors, and it clashes with ClutterActor's position property.

Deprecation is the necessary step in order to remove it for 2.0.
Comment 1 Emmanuele Bassi (:ebassi) 2012-07-05 15:27:52 UTC
Created attachment 218104 [details] [review]
text: Add :cursor-position and deprecate :position

The :position property on ClutterText clashes with the same property on
ClutterActor; it's also badly named, given that it represents the
cursor's position inside the text; finally, it does not match its
accessors, violating the API style conventions.
Comment 2 Emmanuele Bassi (:ebassi) 2012-07-11 20:15:52 UTC
pushed to master