summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libxfce4kbd-private/xfce-shortcut-dialog.c3
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. */