diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/metaaccellabel.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/metaaccellabel.c b/src/ui/metaaccellabel.c index edca8183..2e394395 100644 --- a/src/ui/metaaccellabel.c +++ b/src/ui/metaaccellabel.c @@ -440,8 +440,7 @@ meta_accel_label_update (MetaAccelLabel *accel_label) } g_free (accel_label->accel_string); - accel_label->accel_string = gstring->str; - g_string_free (gstring, FALSE); + accel_label->accel_string = g_string_free (gstring, FALSE); g_assert (accel_label->accel_string); /* accel_label->accel_string = g_strdup ("-/-"); */ |