diff options
Diffstat (limited to 'src/nmtui/nmt-page-ip4.c')
| -rw-r--r-- | src/nmtui/nmt-page-ip4.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nmtui/nmt-page-ip4.c b/src/nmtui/nmt-page-ip4.c index 4d01b356..ebbc7682 100644 --- a/src/nmtui/nmt-page-ip4.c +++ b/src/nmtui/nmt-page-ip4.c @@ -16,7 +16,7 @@ #include "libnm-core-aux-intern/nm-libnm-core-utils.h" #include "nmt-ip-entry.h" -#include "nmt-address-list.h" +#include "nmt-list.h" #include "nmt-route-editor.h" #include "nm-editor-bindings.h" @@ -112,7 +112,7 @@ nmt_page_ip4_constructed(GObject *object) section = nmt_editor_section_new(_("IPv4 CONFIGURATION"), widget, show_by_default); grid = nmt_editor_section_get_body(section); - widget = nmt_address_list_new(NMT_ADDRESS_LIST_IP4_WITH_PREFIX); + widget = nmt_list_new(NMT_LIST_IP4_WITH_PREFIX); nm_editor_bind_ip_addresses_with_prefix_to_strv(AF_INET, s_ip4, NM_SETTING_IP_CONFIG_ADDRESSES, @@ -131,7 +131,7 @@ nmt_page_ip4_constructed(GObject *object) G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE); nmt_editor_grid_append(grid, _("Gateway"), widget, NULL); - widget = nmt_address_list_new(NMT_ADDRESS_LIST_IP4); + widget = nmt_list_new(NMT_LIST_IP4); nm_editor_bind_ip_addresses_to_strv(AF_INET, s_ip4, NM_SETTING_IP_CONFIG_DNS, @@ -140,7 +140,7 @@ nmt_page_ip4_constructed(GObject *object) G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE); nmt_editor_grid_append(grid, _("DNS servers"), widget, NULL); - widget = nmt_address_list_new(NMT_ADDRESS_LIST_HOSTNAME); + widget = nmt_list_new(NMT_LIST_HOSTNAME); g_object_bind_property(s_ip4, NM_SETTING_IP_CONFIG_DNS_SEARCH, widget, |