summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2007-09-07 16:16:09 +0100
committerRichard Hughes <richard@hughsie.com>2007-09-07 16:16:09 +0100
commitd3c9c3a0aaaae9ee1099ff4a8d649b40bc2e4cba (patch)
tree614ccb72467a00a2a13e1f6b8d18a2ee7b5f1713 /client
parentf886bdeae807e472d1fcfc76a6b80b8c64aaae67 (diff)
rename some of the enum methods, removing task from the name
Diffstat (limited to 'client')
-rw-r--r--client/pk-console.c2
-rw-r--r--client/pk-monitor.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/client/pk-console.c b/client/pk-console.c
index 23d4856d..af452da4 100644
--- a/client/pk-console.c
+++ b/client/pk-console.c
@@ -323,7 +323,7 @@ pk_console_finished_cb (PkTaskClient *tclient, PkTaskStatus status, guint runtim
static void
pk_console_error_code_cb (PkTaskClient *tclient, PkTaskErrorCode error_code, const gchar *details, gpointer data)
{
- g_print ("Error: %s : %s\n", pk_task_error_code_to_text (error_code), details);
+ g_print ("Error: %s : %s\n", pk_error_enum_to_text (error_code), details);
}
/**
diff --git a/client/pk-monitor.c b/client/pk-monitor.c
index cc1297ab..d59f9d4c 100644
--- a/client/pk-monitor.c
+++ b/client/pk-monitor.c
@@ -48,7 +48,7 @@ pk_monitor_task_list_changed_cb (PkTaskList *tlist, gpointer data)
static void
pk_monitor_error_code_cb (PkTaskList *tlist, PkTaskErrorCode error_code, const gchar *details, gpointer data)
{
- g_print ("Error: %s : %s\n", pk_task_error_code_to_text (error_code), details);
+ g_print ("Error: %s : %s\n", pk_error_enum_to_text (error_code), details);
}
/**