Commit d042c0db authored by Stefan Walter's avatar Stefan Walter

Add method for accessing operation error without removing it from

    * libseahorse/seahorse-operation.h: Add method for accessing
    operation error without removing it from operation.
parent 723c25c2
......@@ -6,6 +6,9 @@
progress data coming from GPGME
* libseahorse/seahorse-passphrase.c: Don't grab keyboard when in
debug mode. This gets in the way.
* libseahorse/seahorse-operation.c:
* libseahorse/seahorse-operation.h: Add method for accessing
operation error without removing it from operation.
2006-04-11 Nate Nielsen <nielsen@memberwebs.com>
......
......@@ -241,6 +241,12 @@ seahorse_operation_copy_error (SeahorseOperation *operation, GError **err)
*err = operation->error ? g_error_copy (operation->error) : NULL;
}
const GError*
seahorse_operation_get_error (SeahorseOperation *operation)
{
return operation->error;
}
gpointer
seahorse_operation_get_result (SeahorseOperation *operation)
{
......
......@@ -120,6 +120,8 @@ void seahorse_operation_steal_error (SeahorseOperation *operation
void seahorse_operation_copy_error (SeahorseOperation *operation,
GError **err);
const GError* seahorse_operation_get_error (SeahorseOperation *operation);
void seahorse_operation_wait (SeahorseOperation *operation);
gdouble seahorse_operation_get_progress(SeahorseOperation *operation);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment