about summary refs log tree commit diff
path: root/clients/tui
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2021-08-16 09:51:46 +0200
committerMichael Biebl <biebl@debian.org>2021-08-16 09:51:46 +0200
commitbfe522304da217296e2a61040f58e35ec5d6f3f2 (patch)
tree6c4296644fa59cbfe51d9e8aafebddace5ac6b6f /clients/tui
parent3a56bce6c0ea7ba0fe269520547740783b342e0d (diff)
New upstream version 1.30.6 upstream/1.30.6
Diffstat (limited to 'clients/tui')
-rw-r--r--clients/tui/newt/meson.build1
-rw-r--r--clients/tui/newt/nmt-newt-button.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/clients/tui/newt/meson.build b/clients/tui/newt/meson.build
index 0c89c0f6..cbe9d554 100644
--- a/clients/tui/newt/meson.build
+++ b/clients/tui/newt/meson.build
@@ -26,6 +26,7 @@ libnmt_newt = static_library(
   ),
   dependencies: [
     libnm_nm_default_dep,
+    libnm_dep,
     newt_dep,
   ],
   c_args: [
diff --git a/clients/tui/newt/nmt-newt-button.c b/clients/tui/newt/nmt-newt-button.c
index 1a30a63d..1fc89b76 100644
--- a/clients/tui/newt/nmt-newt-button.c
+++ b/clients/tui/newt/nmt-newt-button.c
@@ -108,7 +108,8 @@ nmt_newt_button_build_component(NmtNewtComponent *component, gboolean sensitive)
 {
     NmtNewtButtonPrivate *priv = NMT_NEWT_BUTTON_GET_PRIVATE(component);
     newtComponent         co;
-    char *                label = NULL, *label_lc;
+    gs_free char *        label = NULL;
+    char *                label_lc;
 
     if (sensitive) {
         label_lc = nmt_newt_locale_from_utf8(priv->label);