]> git.mdlowis.com Git - proto/labwc.git/commitdiff
action: Fix warning about freeing a (const char *)
authorJohn Lindgren <john@jlindgren.net>
Fri, 16 Sep 2022 22:45:02 +0000 (18:45 -0400)
committerJohn Lindgren <john@jlindgren.net>
Sat, 17 Sep 2022 14:57:30 +0000 (10:57 -0400)
include/private/action.h

index 0b8f60d05649f0ed07036c9eef1977b42cd2f2e1..1bb89acdd95529c11607ed9071c0805ab63cef77 100644 (file)
@@ -12,7 +12,7 @@ enum action_arg_type {
 struct action_arg {
        struct wl_list link;        /* struct action.args */
 
-       const char *key;            /* May be NULL if there is just one arg */
+       char *key;                  /* May be NULL if there is just one arg */
        enum action_arg_type type;
 };