build: replace deprecated glib2 functions
commit7f339a653af14431afcac5a4435967ec24970616
authorStefan Becker <chemobejk@gmail.com>
Mon, 9 Jan 2012 09:20:22 +0000 (9 11:20 +0200)
committerStefan Becker <chemobejk@gmail.com>
Mon, 9 Jan 2012 09:20:22 +0000 (9 11:20 +0200)
tree009e5f9246250c76cf63c7e8114623b798d45ccc
parent0b3e572f15877c9f4e5d000b73058c25ff27342b
build: replace deprecated glib2 functions

In glib2 2.31 the following functions

    g_strcasecmp()
    g_strncasecmp()

are marked with the GCC attribute "deprecated". In the upcoming GCC
4.7.0 -Wdeprecated-declarations is enabled by default and therefore the
build fails, e.g. for Fedora 17.

Replaced all occurences with g_ascii_str(n)casecmp().
Added -Wdeprecated-declarations to the list of quality check flags.
configure.ac
src/core/sip-transport.c
src/core/sipe-buddy.c
src/core/sipe-chat.c
src/core/sipe-conf.c
src/core/sipe-incoming.c
src/core/sipmsg.c
src/miranda/miranda-buddy.c