libgimpwidgets: add documentation for many functions and fix...

... an annotation.
s/(transfer-none)/(transfer none)/
For the "Since:" value, I did some git log archeology. Hopefully I got
these right.
This commit is contained in:
Jehan 2019-08-02 11:45:24 +02:00
parent 3a4b17e8b5
commit 19fbb1d9a8
4 changed files with 130 additions and 1 deletions

View file

@ -581,6 +581,17 @@ gimp_monitor_get_color_profile (GdkMonitor *monitor)
return profile;
}
/**
* gimp_widget_get_color_profile:
* @monitor: a #GdkMonitor
*
* This function returns the #GimpColorProfile of the monitor @widget is
* currently displayed on, or %NULL if there is no profile configured.
*
* Since: 3.0
*
* Return value: (transfer full): @widget's monitor's #GimpColorProfile, or %NULL.
**/
GimpColorProfile *
gimp_widget_get_color_profile (GtkWidget *widget)
{