diff options
author | Gaël Bonithon <gael@xfce.org> | 2022-03-16 12:10:41 +0100 |
---|---|---|
committer | Gaël Bonithon <gael@xfce.org> | 2022-03-16 12:11:31 +0100 |
commit | 0c1e5a839d8dd267d999a1423a11c9bfc435c625 (patch) | |
tree | 396096dcc537702e25774f1e1c315a9f50b33e44 | |
parent | 67999b8037d7526a3087279914b900fddb982c96 (diff) | |
download | libxfce4ui-master.tar.gz |
-rw-r--r-- | libxfce4kbd-private/xfce-shortcut-dialog.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libxfce4kbd-private/xfce-shortcut-dialog.c b/libxfce4kbd-private/xfce-shortcut-dialog.c index 7698d62..3fdacec 100644 --- a/libxfce4kbd-private/xfce-shortcut-dialog.c +++ b/libxfce4kbd-private/xfce-shortcut-dialog.c @@ -207,9 +207,9 @@ xfce_shortcut_dialog_create_contents (XfceShortcutDialog *dialog, const gchar *action_type; const gchar *title; const gchar *icon_name; - const gchar *explanation_label; const gchar *text; const gchar *format; + gchar *explanation_label; gchar *markup; if (g_utf8_collate (provider, "xfwm4") == 0) @@ -278,6 +278,7 @@ xfce_shortcut_dialog_create_contents (XfceShortcutDialog *dialog, gtk_label_set_line_wrap (GTK_LABEL (label), TRUE); gtk_container_add (GTK_CONTAINER (content_box), label); gtk_widget_show (label); + g_free (explanation_label); /* Box and labels to display the shortcut currently being grabbed. * It will be updated to key-press events. */ |