use g_strdup to allocate a string, not strdup. Fixes #363354.
* src/ui.c: use g_strdup to allocate a string, not strdup. Fixes #363354.
This commit is contained in:
parent
c68c26b7f8
commit
8f09a12069
@ -1,3 +1,8 @@
|
||||
2006-11-05 Kjartan Maraas <kmaraas@gnome.org>
|
||||
|
||||
* src/ui.c: use g_strdup to allocate a string, not strdup. Fixes
|
||||
#363354.
|
||||
|
||||
2006-11-05 Justin Mason <jm@jmason.org>
|
||||
|
||||
* src/keybindings.c: implement handle_move_to_{side|corner}_* to
|
||||
|
2
src/ui.c
2
src/ui.c
@ -825,7 +825,7 @@ meta_ui_accelerator_name (unsigned int keysym,
|
||||
|
||||
if (keysym == 0 && mask == 0)
|
||||
{
|
||||
return strdup ("disabled");
|
||||
return g_strdup ("disabled");
|
||||
}
|
||||
|
||||
if (mask & META_VIRTUAL_SHIFT_MASK)
|
||||
|
Loading…
x
Reference in New Issue
Block a user