can't assign the return value of g_strdupv() to an array. Fill the array
authorMichael Natterer <mitch@imendio.com>
Tue, 16 Sep 2008 11:36:52 +0000 (11:36 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Tue, 16 Sep 2008 11:36:52 +0000 (11:36 +0000)
commit2623f6fc0f6ae69a771ddc6d7bd474973555d442
treef91cf469eaec0d10138f19b109e7d01a137e1c09
parent1d627b703f79c7250a9eb6442fd1a81c9c2f5d53
can't assign the return value of g_strdupv() to an array. Fill the array

2008-09-16  Michael Natterer  <mitch@imendio.com>

* gcontenttype.c (g_content_type_guess): can't assign the return
value of g_strdupv() to an array. Fill the array manually with
const strings instead (it is never freed anyway). Fixes the
build. Also fixed indentation.

svn path=/trunk/; revision=7501
gio/ChangeLog
gio/gcontenttype.c