libgimpwidgets: add gimp_screen_get_color_profile()

and use it in gimp_widget_get_color_profile(). Will soon be used in
screenshot too.
This commit is contained in:
Michael Natterer
2017-01-31 18:58:27 +01:00
parent 2dbf1b46b2
commit eb9981e5e4
3 changed files with 42 additions and 15 deletions

View File

@ -50,6 +50,8 @@ void gimp_widget_track_monitor (GtkWidget *widget,
GCallback monitor_changed_callback,
gpointer user_data);
GimpColorProfile * gimp_screen_get_color_profile (GdkScreen *screen,
gint monitor);
GimpColorProfile * gimp_widget_get_color_profile (GtkWidget *widget);
GimpColorTransform * gimp_widget_get_color_transform (GtkWidget *widget,