diff --git a/src/backends/meta-color-profile.c b/src/backends/meta-color-profile.c index 43259a89c..f759f2687 100644 --- a/src/backends/meta-color-profile.c +++ b/src/backends/meta-color-profile.c @@ -368,6 +368,12 @@ meta_color_profile_get_id (MetaColorProfile *color_profile) return color_profile->cd_profile_id; } +const char * +meta_color_profile_get_file_path (MetaColorProfile *color_profile) +{ + return cd_profile_get_filename (color_profile->cd_profile); +} + const char * meta_color_profile_get_brightness_profile (MetaColorProfile *color_profile) { diff --git a/src/backends/meta-color-profile.h b/src/backends/meta-color-profile.h index a38b979f8..72c894aab 100644 --- a/src/backends/meta-color-profile.h +++ b/src/backends/meta-color-profile.h @@ -56,6 +56,8 @@ gboolean meta_color_profile_is_ready (MetaColorProfile *color_profile); META_EXPORT_TEST const char * meta_color_profile_get_id (MetaColorProfile *color_profile); +const char * meta_color_profile_get_file_path (MetaColorProfile *color_profile); + const char * meta_color_profile_get_brightness_profile (MetaColorProfile *color_profile); #endif /* META_COLOR_PROFILE_H */