[metacity] accellabel: simplify meta_accel_label_update
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] accellabel: simplify meta_accel_label_update
- Date: Sun, 14 Mar 2021 18:59:54 +0000 (UTC)
commit 339cfb107596da314401cbe8b95de2ea14ba5fc8
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun Mar 14 19:07:39 2021 +0200
accellabel: simplify meta_accel_label_update
src/ui/metaaccellabel.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/src/ui/metaaccellabel.c b/src/ui/metaaccellabel.c
index 99de77d0d..edca8183d 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]