Searched refs:sniffed_mimetype (Results 1 – 2 of 2) sorted by relevance
736 const char *name_mimetypes[10], *sniffed_mimetype; in g_content_type_guess() local744 sniffed_mimetype = XDG_MIME_TYPE_UNKNOWN; in g_content_type_guess()784 sniffed_mimetype = xdg_mime_get_mime_type_for_data (data, data_size, &sniffed_prio); in g_content_type_guess()785 if (sniffed_mimetype == XDG_MIME_TYPE_UNKNOWN && in g_content_type_guess()788 sniffed_mimetype = "text/plain"; in g_content_type_guess()797 strcmp (sniffed_mimetype, "application/x-desktop") == 0) in g_content_type_guess()798 sniffed_mimetype = "text/plain"; in g_content_type_guess()803 if (sniffed_mimetype == XDG_MIME_TYPE_UNKNOWN && in g_content_type_guess()807 mimetype = g_strdup (sniffed_mimetype); in g_content_type_guess()812 if (sniffed_mimetype != XDG_MIME_TYPE_UNKNOWN) in g_content_type_guess()[all …]
552 const char *sniffed_mimetype;554 sniffed_mimetype = xdg_mime_get_mime_type_for_data (data, data_size, NULL);556 if (sniffed_mimetype != XDG_MIME_TYPE_UNKNOWN)558 gchar *uti_str = g_content_type_from_mime_type (sniffed_mimetype);