summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2013-12-17 12:42:28 +0000
committerRichard Hughes <richard@hughsie.com>2014-01-13 12:27:48 +0000
commite6cbc8c94c64d86b06de710f8d803bacfd875490 (patch)
treee9089f8437f31825838282e72e2576ec14a176ef
parentf1f1e7717e95b3393956487d29ff7cf642b5e732 (diff)
downloadcolord-e6cbc8c94c64d86b06de710f8d803bacfd875490.tar.gz
libcolord: Do not use G_GNUC_WARN_UNUSED_RESULT when uninhibiting
Clients don't need to know this has failed if a device was never inhibited in the first place.
-rw-r--r--lib/colord/cd-device-sync.h3
-rw-r--r--lib/colord/cd-device.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/colord/cd-device-sync.h b/lib/colord/cd-device-sync.h
index 47cce9f..b463435 100644
--- a/lib/colord/cd-device-sync.h
+++ b/lib/colord/cd-device-sync.h
@@ -70,8 +70,7 @@ gboolean cd_device_profiling_inhibit_sync (CdDevice *device,
G_GNUC_WARN_UNUSED_RESULT;
gboolean cd_device_profiling_uninhibit_sync (CdDevice *device,
GCancellable *cancellable,
- GError **error)
- G_GNUC_WARN_UNUSED_RESULT;
+ GError **error);
CdDeviceRelation cd_device_get_profile_relation_sync (CdDevice *device,
CdProfile *profile,
GCancellable *cancellable,
diff --git a/lib/colord/cd-device.h b/lib/colord/cd-device.h
index 6629032..42e3359 100644
--- a/lib/colord/cd-device.h
+++ b/lib/colord/cd-device.h
@@ -142,8 +142,7 @@ void cd_device_profiling_uninhibit (CdDevice *device,
gpointer user_data);
gboolean cd_device_profiling_uninhibit_finish (CdDevice *device,
GAsyncResult *res,
- GError **error)
- G_GNUC_WARN_UNUSED_RESULT;
+ GError **error);
void cd_device_get_profile_for_qualifiers (CdDevice *device,
const gchar **qualifiers,
GCancellable *cancellable,