diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2021-03-14 19:07:39 +0200 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2021-03-14 19:07:39 +0200 |
commit | 339cfb107596da314401cbe8b95de2ea14ba5fc8 (patch) | |
tree | 34122c02947b93c76813eaa55e31dd86aef3c850 /src | |
parent | 3d4f4af40524e83864b8196288405a5651dd6ccf (diff) | |
download | metacity-339cfb107596da314401cbe8b95de2ea14ba5fc8.tar.gz |
accellabel: simplify meta_accel_label_update
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/metaaccellabel.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ui/metaaccellabel.c b/src/ui/metaaccellabel.c index 99de77d0..edca8183 100644 --- a/src/ui/metaaccellabel.c +++ b/src/ui/metaaccellabel.c @@ -337,9 +337,6 @@ meta_accel_label_update (MetaAccelLabel *accel_label) class = META_ACCEL_LABEL_GET_CLASS (accel_label); - g_free (accel_label->accel_string); - accel_label->accel_string = NULL; - gstring = g_string_new (" "); if (accel_label->accel_mods & META_VIRTUAL_SHIFT_MASK) |