diff options
author | Thomas James Alexander Thurman <tthurman@src.gnome.org> | 2006-11-05 22:32:01 +0000 |
---|---|---|
committer | Thomas James Alexander Thurman <tthurman@src.gnome.org> | 2006-11-05 22:32:01 +0000 |
commit | 8f09a1206993f41d29f160ca9d9665f79d68213a (patch) | |
tree | 4226d16e80277c526164e018e1c1c725de44ca8d | |
parent | c68c26b7f868c60749d9068ed9e1d33b31d3d769 (diff) | |
download | metacity-8f09a1206993f41d29f160ca9d9665f79d68213a.tar.gz |
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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/ui.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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 @@ -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) |