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-15 15:30:25 +0000
commit125b9aac29de830d76bb6edf0e0107851a278dc5 (patch)
tree269f6b14e2b8ad107633e9610986821984bc9fb5
parentc7003808d0809b926423a2179fdb2df176a3f55a (diff)
downloadcolord-125b9aac29de830d76bb6edf0e0107851a278dc5.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,