[gnome-color-manager] trivial: return TRUE for gcm_device_apply() if there is no klass support
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] trivial: return TRUE for gcm_device_apply() if there is no klass support
- Date: Wed, 10 Feb 2010 10:10:05 +0000 (UTC)
commit 7153ca3576b7dea78f182d889233dc58bbc90807
Author: Richard Hughes <richard hughsie com>
Date: Tue Feb 9 20:25:27 2010 +0000
trivial: return TRUE for gcm_device_apply() if there is no klass support
src/gcm-device.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gcm-device.c b/src/gcm-device.c
index 0e003b9..25e3d1d 100644
--- a/src/gcm-device.c
+++ b/src/gcm-device.c
@@ -395,12 +395,12 @@ out:
gboolean
gcm_device_apply (GcmDevice *device, GError **error)
{
- gboolean ret = FALSE;
+ gboolean ret = TRUE;
GcmDeviceClass *klass = GCM_DEVICE_GET_CLASS (device);
/* no support */
if (klass->apply == NULL) {
- g_set_error (error, 1, 0, "no klass support");
+ egg_debug ("no klass support for %s", device->priv->id);
goto out;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]