summaryrefslogtreecommitdiff
path: root/src/connection-editor/page-proxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection-editor/page-proxy.c')
-rw-r--r--src/connection-editor/page-proxy.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/connection-editor/page-proxy.c b/src/connection-editor/page-proxy.c
index 8711f9dc..015dd5b3 100644
--- a/src/connection-editor/page-proxy.c
+++ b/src/connection-editor/page-proxy.c
@@ -18,13 +18,19 @@
* (C) Copyright 2016 Atul Anand <atulhjp@gmail.com>.
*/
+#undef NM_VERSION_MAX_ALLOWED
+#define NM_VERSION_MAX_ALLOWED NM_VERSION_1_6
+
#include "nm-default.h"
+#if NM_LIBNM_COMPAT_PROXY_SUPPORTED
+
+#include "page-proxy.h"
+
#include <string.h>
#include <errno.h>
#include <stdlib.h>
-#include "page-proxy.h"
#include "nm-connection-editor.h"
G_DEFINE_TYPE (CEPageProxy, ce_page_proxy, CE_TYPE_PAGE)
@@ -484,3 +490,5 @@ ce_page_proxy_class_init (CEPageProxyClass *proxy_class)
/* virtual methods */
parent_class->ce_page_validate_v = ce_page_validate_v;
}
+
+#endif /* NM_LIBNM_COMPAT_PROXY_SUPPORTED */