Details
[Home]
Issue of the Standard # D0013
Brief
The documentation for the interface "g_date_clamp" is incomplete
Detailed Description
There is no mention about the functionality of the interface g_date_clamp in case the value of the "date" parameter falls between the values of the parameters "min_date" and "max_date".
Problem location(s) in the standard
Linux Standard Base Desktop Specification 3.1, Chapter 12. Libraries, 12.2 Interfaces for libglib-2.0;http://www.gtk.org/api/2.6/glib/glib-Date-and-Time-Functions.html#g-date-clamp
Possible solutions
Adding the sentence:
If date falls between min_date and max_date, the date is not changed.
after the sentence
If date falls after max_date, sets date equal to max_date.
Accepted
Gnome Bugzilla 491970
Status
Fixed in gtk-glib - 2.16
[Home]