New function to create a content type from a mime type. (#527175, Milan

2008-05-17  Matthias Clasen  <mclasen@redhat.com>

        * gcontenttype.h:
        * gcontenttype.c: (g_content_type_from_mime_type):
        New function to create a content type from a mime type. (#527175,
        Milan Crha)


svn path=/trunk/; revision=6906
This commit is contained in:
Matthias Clasen
2008-05-18 02:50:48 +00:00
committed by Matthias Clasen
parent d238669ef0
commit 4f21fe18cb
5 changed files with 41 additions and 0 deletions

View File

@@ -140,6 +140,7 @@ g_content_type_get_description
g_content_type_get_mime_type
g_content_type_get_icon
g_content_type_can_be_executable
g_content_type_from_mime_type
g_content_type_guess
g_content_types_get_registered
#endif