mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-01 03:18:06 +02:00
wwan: fix using wrong enum type for flags for g_dbus_proxy_new()
This commit is contained in:
parent
1b570723b4
commit
8621b0aba9
2 changed files with 3 additions and 3 deletions
|
|
@ -523,7 +523,7 @@ ensure_client (NMModemManager *self)
|
|||
#if WITH_OFONO
|
||||
if (!priv->ofono_proxy) {
|
||||
g_dbus_proxy_new (priv->dbus_connection,
|
||||
G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_DO_NOT_AUTO_START,
|
||||
G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START,
|
||||
NULL,
|
||||
OFONO_DBUS_SERVICE,
|
||||
OFONO_DBUS_PATH,
|
||||
|
|
|
|||
|
|
@ -1125,7 +1125,7 @@ do_context_activate (NMModemOfono *self)
|
|||
g_clear_object (&priv->context_proxy);
|
||||
|
||||
g_dbus_proxy_new (priv->dbus_connection,
|
||||
G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_DO_NOT_AUTO_START,
|
||||
G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START,
|
||||
NULL,
|
||||
OFONO_DBUS_SERVICE,
|
||||
priv->context_path,
|
||||
|
|
@ -1261,7 +1261,7 @@ bus_connected (NMModemOfono *self)
|
|||
nm_log_dbg (LOGD_MB, "in %s", __func__);
|
||||
|
||||
g_dbus_proxy_new (priv->dbus_connection,
|
||||
G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_DO_NOT_AUTO_START,
|
||||
G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START,
|
||||
NULL,
|
||||
OFONO_DBUS_SERVICE,
|
||||
nm_modem_get_path (NM_MODEM (self)),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue