GNOME Bugzilla – Bug 760238
Improve function documentation for gtk_css_provider_load_from_data()
Last modified: 2016-01-16 00:24:17 UTC
Created attachment 318383 [details] [review] Improved function doc for gtk_css_provider_load_from_data() I noticed the function doc for gtk_css_provider_load_from_data() was a bit vague, as it states: "Loads data into css_provider, making it clear any previously loaded information." I confirmed on IRC that this function actually clears any previously loaded information, so I propose to change the docs something a bit clearer: "Loads data into css_provider, and by doing do clears any previously loaded information." I've attached the proposed patch.
Review of attachment 318383 [details] [review]: sure, looks good
do you mean 'by doing so clears'?
(In reply to Ben from comment #2) > do you mean 'by doing so clears'? The act of calling this function, gtk_css_provider_load_from_data(), clears any previously loaded information for css_provider.
I meant you have a typo - 'by doing so' not 'by doing do'
Created attachment 318954 [details] [review] Typo fix for original patch (In reply to Ben from comment #4) > I meant you have a typo - 'by doing so' not 'by doing do' Ah, good call! I've uploaded a patch that fixes the typo.
pushed