diff options
author | Richard Hughes <richard@hughsie.com> | 2013-04-24 21:24:50 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2013-04-24 21:24:50 +0100 |
commit | 08f489d5c56130fcfb0c2f39738261b6f856f4df (patch) | |
tree | 4971fed47e7645937abd7abed2e32498e3a48795 | |
parent | 748b727b19c2fedb832e416b5d88b3e5b89a3e2c (diff) | |
download | colord-08f489d5c56130fcfb0c2f39738261b6f856f4df.tar.gz |
trivial: Get the formatted warnings for the profile in the daemon
-rw-r--r-- | src/cd-profile.c | 9 | ||||
-rw-r--r-- | src/cd-profile.h | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/cd-profile.c b/src/cd-profile.c index 3b298f8..6e3ba9b 100644 --- a/src/cd-profile.c +++ b/src/cd-profile.c @@ -965,6 +965,15 @@ out: } /** + * cd_profile_get_warnings: + **/ +const gchar ** +cd_profile_get_warnings (CdProfile *profile) +{ + return (const gchar **) profile->priv->warnings; +} + +/** * cd_profile_emit_parsed_property_changed: **/ static void diff --git a/src/cd-profile.h b/src/cd-profile.h index 098a6a7..e938797 100644 --- a/src/cd-profile.h +++ b/src/cd-profile.h @@ -101,6 +101,7 @@ gboolean cd_profile_set_property_internal (CdProfile *profile, const gchar *property, const gchar *value, GError **error); +const gchar **cd_profile_get_warnings (CdProfile *profile); G_END_DECLS |