aboutsummaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-07-31 09:02:58 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-07-31 09:02:58 +0200
commit737b6c2fc5d576c744aa7e5bb70b171bf3271e6f (patch)
treef03309c73327dc4eb5556e8c901981baeaf166e1 /cli
parent60405ce4ff5cc8ce7d8116b2387add00465dbd49 (diff)
cli,libmm-glib: provide mm_manager_(peek|get)_proxy()
peek() doesn't increase the reference count of the proxy object, while get() does it.
Diffstat (limited to 'cli')
-rw-r--r--cli/mmcli-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/mmcli-manager.c b/cli/mmcli-manager.c
index 4db353d6..70a7050e 100644
--- a/cli/mmcli-manager.c
+++ b/cli/mmcli-manager.c
@@ -249,7 +249,7 @@ get_manager_ready (GObject *source,
ctx->manager = mmcli_get_manager_finish (result);
/* Setup operation timeout */
- mmcli_force_operation_timeout (mm_manager_get_proxy (ctx->manager));
+ mmcli_force_operation_timeout (mm_manager_peek_proxy (ctx->manager));
/* Request to set log level? */
if (set_logging_str) {
@@ -331,7 +331,7 @@ mmcli_manager_run_synchronous (GDBusConnection *connection)
ctx->manager = mmcli_get_manager_sync (connection);
/* Setup operation timeout */
- mmcli_force_operation_timeout (mm_manager_get_proxy (ctx->manager));
+ mmcli_force_operation_timeout (mm_manager_peek_proxy (ctx->manager));
/* Request to set log level? */
if (set_logging_str) {