[libgovirt] Fix async tag in ovirt_vm_refresh_finish



commit 25f2976e2596a56dd16bc7027c721dff0fc074e1
Author: Christophe Fergeau <cfergeau redhat com>
Date:   Wed Dec 4 14:38:43 2013 +0100

    Fix async tag in ovirt_vm_refresh_finish
    
    The tag passed to g_simple_async_result_is_valid was not the correct one.

 govirt/ovirt-vm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/govirt/ovirt-vm.c b/govirt/ovirt-vm.c
index 3032d34..7f83384 100644
--- a/govirt/ovirt-vm.c
+++ b/govirt/ovirt-vm.c
@@ -542,7 +542,7 @@ gboolean ovirt_vm_refresh_finish(OvirtVm *vm,
 {
     g_return_val_if_fail(OVIRT_IS_VM(vm), FALSE);
     g_return_val_if_fail(g_simple_async_result_is_valid(result, G_OBJECT(vm),
-                                                        ovirt_vm_invoke_action_async),
+                                                        ovirt_vm_refresh_async),
                          FALSE);
 
     return ovirt_rest_call_finish(result, err);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]