diff options
Diffstat (limited to 'src/connection-editor/nm-connection-editor.c')
-rw-r--r-- | src/connection-editor/nm-connection-editor.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/connection-editor/nm-connection-editor.c b/src/connection-editor/nm-connection-editor.c index 0a7416ef..c3e57532 100644 --- a/src/connection-editor/nm-connection-editor.c +++ b/src/connection-editor/nm-connection-editor.c @@ -831,9 +831,13 @@ nm_connection_editor_set_connection (NMConnectionEditor *editor, goto out; } +#if NM_LIBNM_COMPAT_PROXY_SUPPORTED + G_GNUC_BEGIN_IGNORE_DEPRECATIONS if ( nm_connection_get_setting_proxy (editor->connection) && !add_page (editor, ce_page_proxy_new, editor->connection, error)) goto out; + G_GNUC_END_IGNORE_DEPRECATIONS +#endif if ( nm_connection_get_setting_ip4_config (editor->connection) && !add_page (editor, ce_page_ip4_new, editor->connection, error)) goto out; |