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 561816 - Optimize gtk_paned_set_position notifications
Optimize gtk_paned_set_position notifications
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other All
: Normal minor
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2008-11-21 15:08 UTC by Morten Welinder
Modified: 2010-01-29 15:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Do not update position if it's already at the given value (340 bytes, patch)
2010-01-29 13:36 UTC, Christian Dywan
committed Details | Review

Description Morten Welinder 2008-11-21 15:08:18 UTC
gtk_paned_set_position should not fire off notifications and queue resizes
if nothing changes, i.e., if the new and old positions agree.
Comment 1 Christian Dywan 2010-01-29 13:36:00 UTC
Created attachment 152572 [details] [review]
Do not update position if it's already at the given value
Comment 2 Matthias Clasen 2010-01-29 13:47:38 UTC
Comment on attachment 152572 [details] [review]
Do not update position if it's already at the given value

Looks fine to me.
Comment 3 Christian Dywan 2010-01-29 15:44:50 UTC
Pushed to master.