[evolution-data-server] e-gdbus-templates: Fix incorrect type check in e_gdbus_proxy_finish_call_uint()
- From: Christophe Dumez <cdumez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] e-gdbus-templates: Fix incorrect type check in e_gdbus_proxy_finish_call_uint()
- Date: Tue, 13 Sep 2011 12:04:15 +0000 (UTC)
commit 20d110bb5c037abcfb64421d26803b43fcb30ced
Author: Christophe Dumez <christophe dumez intel com>
Date: Tue Sep 13 15:02:34 2011 +0300
e-gdbus-templates: Fix incorrect type check in e_gdbus_proxy_finish_call_uint()
It should make sure the type is UINT, not STRING.
libedataserver/e-gdbus-templates.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libedataserver/e-gdbus-templates.c b/libedataserver/e-gdbus-templates.c
index 009f2f0..17a89b4 100644
--- a/libedataserver/e-gdbus-templates.c
+++ b/libedataserver/e-gdbus-templates.c
@@ -1285,7 +1285,7 @@ e_gdbus_proxy_finish_call_uint (EGdbusAsyncOpKeeper *proxy,
op_data = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (result));
g_return_val_if_fail (op_data != NULL, FALSE);
- g_return_val_if_fail (op_data->result_type == E_GDBUS_TYPE_STRING, FALSE);
+ g_return_val_if_fail (op_data->result_type == E_GDBUS_TYPE_UINT, FALSE);
*out_uint = op_data->result.out_uint;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]