summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2007-09-09 18:24:09 +0100
committerRichard Hughes <richard@hughsie.com>2007-09-09 18:24:09 +0100
commit17470c54c3f4fc7fbef4ba31a55119196df0973f (patch)
tree352ba1a3185b5811c8119edad8947e5bec1f73b7 /client
parentedaeb012a561244ca9f51bcb9b2016dfc60605a6 (diff)
make the enum types more sane
Diffstat (limited to 'client')
-rw-r--r--client/pk-console.c4
-rw-r--r--client/pk-monitor.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/client/pk-console.c b/client/pk-console.c
index a4619942..73c8201b 100644
--- a/client/pk-console.c
+++ b/client/pk-console.c
@@ -329,7 +329,7 @@ pk_console_tidy_up_sync (PkTaskClient *tclient)
* pk_console_finished_cb:
**/
static void
-pk_console_finished_cb (PkTaskClient *tclient, PkTaskStatus status, guint runtime, gpointer data)
+pk_console_finished_cb (PkTaskClient *tclient, PkStatusEnum status, guint runtime, gpointer data)
{
g_print ("Runtime was %i seconds\n", runtime);
}
@@ -338,7 +338,7 @@ pk_console_finished_cb (PkTaskClient *tclient, PkTaskStatus status, guint runtim
* pk_console_error_code_cb:
**/
static void
-pk_console_error_code_cb (PkTaskClient *tclient, PkTaskErrorCode error_code, const gchar *details, gpointer data)
+pk_console_error_code_cb (PkTaskClient *tclient, PkErrorCodeEnum error_code, const gchar *details, gpointer data)
{
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 d59f9d4c..05178fdf 100644
--- a/client/pk-monitor.c
+++ b/client/pk-monitor.c
@@ -46,7 +46,7 @@ pk_monitor_task_list_changed_cb (PkTaskList *tlist, gpointer data)
* pk_monitor_error_code_cb:
**/
static void
-pk_monitor_error_code_cb (PkTaskList *tlist, PkTaskErrorCode error_code, const gchar *details, gpointer data)
+pk_monitor_error_code_cb (PkTaskList *tlist, PkErrorCodeEnum error_code, const gchar *details, gpointer data)
{
g_print ("Error: %s : %s\n", pk_error_enum_to_text (error_code), details);
}