GNOME Bugzilla – Bug 726900
gtk_recent_filter_filter() requirements aren't fully documented
Last modified: 2014-03-24 16:41:07 UTC
Created attachment 272659 [details] [review] Documentation patch gtk_recent_filter_filter() requires that the GtkRecentFilterInfo structure have the requested fields set, *and* that it set the contains field to indicate which fields actually have been set. The attached patch adds a mention of this to the function documentation.
Review of attachment 272659 [details] [review]: thanks for the patch. ::: gtk/gtkrecentfilter.c @@ +697,3 @@ * The #GtkRecentFilterInfo @filter_info should include + * the fields returned from gtk_recent_filter_get_needed(), and + * must set the @filter_info contains bit field to indicate which this should be: must set the #GtkRecentFilterInfo.contains field of @filter_info to indicate which so that it back links to the correct field of the GtkRecentFilterInfo structure (and also makes the sentence a bit more clear).
Created attachment 272660 [details] [review] Updated patch Thanks. I wasn't sure what the docs syntax for referring to a struct field was. Updated patch attached.
Review of attachment 272660 [details] [review]: looks good, thanks again!