about summary refs log tree commit diff
path: root/src/nmtui/nmt-editor.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2024-01-25 09:46:52 +0100
committerMichael Biebl <biebl@debian.org>2024-01-25 09:46:52 +0100
commitb6357ff41de179d0aa2e35a6d574e5749fe09002 (patch)
treeff038e98f4569fa3ba217266e6d288410ed84cd4 /src/nmtui/nmt-editor.c
parent535ecf92edd8ad054ae8102a224c3dd8f3acf967 (diff)
parent70e18d99b8e3e77bb37e218d7ac582130156f8ef (diff)
Update upstream source from tag 'upstream/1.45.90'
Update to upstream version '1.45.90'
with Debian dir d723a85d75b9a8958dee17b97673a3fd9a80e18c
Diffstat (limited to 'src/nmtui/nmt-editor.c')
-rw-r--r--src/nmtui/nmt-editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nmtui/nmt-editor.c b/src/nmtui/nmt-editor.c
index ad8803b6..6e502778 100644
--- a/src/nmtui/nmt-editor.c
+++ b/src/nmtui/nmt-editor.c
@@ -385,7 +385,7 @@ nmt_editor_constructed(GObject *object)
     add_sections_for_page(editor, grid, page);
     nmt_editor_grid_append(grid, NULL, nmt_newt_separator_new(), NULL);
 
-    port_type = nm_setting_connection_get_slave_type(s_con);
+    port_type = nm_setting_connection_get_port_type(s_con);
     if (port_type) {
         if (!strcmp(port_type, NM_SETTING_BRIDGE_SETTING_NAME))
             add_sections_for_page(editor, grid, nmt_page_bridge_port_new(priv->edit_connection));