Use list_parents, not get_parents from xdgmime, because the later doesn't
authorAlexander Larsson <alexl@redhat.com>
Tue, 29 Jan 2008 10:20:49 +0000 (10:20 +0000)
committerAlexander Larsson <alexl@src.gnome.org>
Tue, 29 Jan 2008 10:20:49 +0000 (10:20 +0000)
commite064f28435e4edeac7e3128f80af3ecfc5e09bb9
treec8044f83a9d91547b7ecf9ae3023207df8b92c0d
parentfa7351324a30009349891112c04e39af65eea6a3
Use list_parents, not get_parents from xdgmime, because the later doesn't

2008-01-29  Alexander Larsson  <alexl@redhat.com>

        * gcontenttype.c:
        (_g_unix_content_type_get_parents):
Use list_parents, not get_parents from xdgmime, because
the later doesn't use the cache.

        * xdgmime/xdgmimecache.c:
        (_xdg_mime_cache_list_mime_parents):
Don't list the same type as parent multiple times.

svn path=/trunk/; revision=6407
gio/ChangeLog
gio/gcontenttype.c
gio/xdgmime/xdgmimecache.c