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 634793 - Use g_object_notify_by_pspec() / g_object_class_install_properties()
Use g_object_notify_by_pspec() / g_object_class_install_properties()
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
3.5.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on: GProperty
Blocks:
 
 
Reported: 2010-11-14 02:50 UTC by Javier Jardón (IRC: jjardon)
Modified: 2014-01-25 03:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gtkaccelgroup: Use g_object_class_install_properties() and g_object_notify_by_pspec() (3.30 KB, patch)
2010-11-14 02:50 UTC, Javier Jardón (IRC: jjardon)
committed Details | Review
gtkgrid: Use g_object_class_install_properties() and g_object_notify_by_pspec() (4.15 KB, patch)
2010-11-14 02:50 UTC, Javier Jardón (IRC: jjardon)
committed Details | Review

Description Javier Jardón (IRC: jjardon) 2010-11-14 02:50:32 UTC
Created attachment 174421 [details] [review]
gtkaccelgroup: Use g_object_class_install_properties() and g_object_notify_by_pspec()

g_object_notify_by_pspec() omits the property name lookup, hence it is faster than g_object_notify().
Comment 1 Javier Jardón (IRC: jjardon) 2010-11-14 02:50:54 UTC
Created attachment 174422 [details] [review]
gtkgrid: Use g_object_class_install_properties() and g_object_notify_by_pspec()
Comment 2 Matthias Clasen 2011-06-01 00:57:19 UTC
These look fine in principle, but we should perhaps hold off until g-property lands ?
Comment 3 Javier Jardón (IRC: jjardon) 2011-06-01 02:36:17 UTC
Yeah, makes sense to port to GProperty directly
Comment 4 Matthias Clasen 2014-01-25 03:55:48 UTC
Attachment 174422 [details] pushed as 65ce9a5 - gtkgrid: Use g_object_class_install_properties() and g_object_notify_by_pspec()