diff options
author | Ben Chan <benchan@chromium.org> | 2012-07-30 16:46:25 -0700 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-07-31 08:54:45 +0200 |
commit | 60405ce4ff5cc8ce7d8116b2387add00465dbd49 (patch) | |
tree | 7ca355e6218d4e6492f828f138a666c8295eb302 /cli/mmcli-manager.c | |
parent | a448eabb3d8c238f1f734e233edd0ca9b49b2d60 (diff) |
cli,libmm-glib: set default timeout on manager DBus proxy
This patch fixes mmcli to set the default timeout on the manager proxy
interface (MmGdbusOrgFreedesktopModemManager1) instead of MMManager
itself. The later is not a GDBusProxy object.
Diffstat (limited to 'cli/mmcli-manager.c')
-rw-r--r-- | cli/mmcli-manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/mmcli-manager.c b/cli/mmcli-manager.c index 6dd00ac5..4db353d6 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 (G_DBUS_PROXY (ctx->manager)); + mmcli_force_operation_timeout (mm_manager_get_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 (G_DBUS_PROXY (ctx->manager)); + mmcli_force_operation_timeout (mm_manager_get_proxy (ctx->manager)); /* Request to set log level? */ if (set_logging_str) { |