diff options
author | Richard Hughes <richard@hughsie.com> | 2010-01-18 12:35:47 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2010-01-18 12:35:47 +0000 |
commit | d2550b4c7854e970719b07b48ecdb61af9c01b6f (patch) | |
tree | 59ba56384fee7aaf7a25857556a6a3dec87c8758 /src/up-wakeups.c | |
parent | 2562bc6aa6fe9b5f422e01c92aef9745bed5204f (diff) | |
download | upower-d2550b4c7854e970719b07b48ecdb61af9c01b6f.tar.gz |
trivial: DkpDaemon -> UpDaemon (no ABI or API break)
Diffstat (limited to 'src/up-wakeups.c')
-rw-r--r-- | src/up-wakeups.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/up-wakeups.c b/src/up-wakeups.c index 8f88cef..c424058 100644 --- a/src/up-wakeups.c +++ b/src/up-wakeups.c @@ -171,7 +171,7 @@ dkp_wakeups_get_total (DkpWakeups *wakeups, guint *value, GError **error) /* no capability */ if (!wakeups->priv->has_capability) { - g_set_error_literal (error, DKP_DAEMON_ERROR, DKP_DAEMON_ERROR_GENERAL, "no hardware support"); + g_set_error_literal (error, UP_DAEMON_ERROR, UP_DAEMON_ERROR_GENERAL, "no hardware support"); return FALSE; } @@ -180,7 +180,7 @@ dkp_wakeups_get_total (DkpWakeups *wakeups, guint *value, GError **error) /* no data */ if (!ret) { - g_set_error_literal (error, DKP_DAEMON_ERROR, DKP_DAEMON_ERROR_GENERAL, "cannot enable timerstats"); + g_set_error_literal (error, UP_DAEMON_ERROR, UP_DAEMON_ERROR_GENERAL, "cannot enable timerstats"); return FALSE; } @@ -201,7 +201,7 @@ dkp_wakeups_get_data (DkpWakeups *wakeups, GPtrArray **data, GError **error) /* no capability */ if (!wakeups->priv->has_capability) { - g_set_error_literal (error, DKP_DAEMON_ERROR, DKP_DAEMON_ERROR_GENERAL, "no hardware support"); + g_set_error_literal (error, UP_DAEMON_ERROR, UP_DAEMON_ERROR_GENERAL, "no hardware support"); return FALSE; } |