diff options
author | Jasmine Hassan <[email protected]> | 2012-12-15 09:25:51 +0200 |
---|---|---|
committer | Jasmine Hassan <[email protected]> | 2012-12-15 09:43:04 +0200 |
commit | c6a6cbde72489a0055ba63341a153fe365058072 (patch) | |
tree | 4750b8d23dfcb17aea6cbc62c7e1c788a6976a7b /plugins/mouse | |
parent | e6ed635e07bd485c6518894bd9883ae9df64f63f (diff) | |
download | mate-settings-daemon-c6a6cbde72489a0055ba63341a153fe365058072.tar.bz2 mate-settings-daemon-c6a6cbde72489a0055ba63341a153fe365058072.tar.xz |
[keyboard] add g_strv_behead, reduce code & fix filter_xkb_config()
Fixes compiler warning: 'i' may be used uninitialized in this function
Indeed, rather than initializing 'i' to zero, 'lv' (char arr of **lv) was
erroneously being assigned the value of 0 in the for loop's initialization.
g_strv_behead copied from gkbd_strv_behead from libgnomekbd/gkbd-util.c
For reference: Using shared gkbd_strv_* utility functions, reducing the code
http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=f62d0846143b8a65606daa6860e6b2cd7f9cb465
Diffstat (limited to 'plugins/mouse')
0 files changed, 0 insertions, 0 deletions