Home | History | Annotate | Download | only in gio

Lines Matching refs:mimetype

511  * On unix this is the "application/octet-stream" mimetype,
649 load_comment_for_mime (const char *mimetype)
656 basename = g_strdup_printf ("%s.xml", mimetype);
678 return g_strdup_printf (_("%s type"), mimetype);
889 char *mimetype;
954 mimetype = g_strdup (sniffed_mimetype);
958 mimetype = NULL;
962 mimetype = g_strdup (sniffed_mimetype);
974 mimetype = g_strdup (name_mimetypes[i]);
981 if (mimetype == NULL)
984 mimetype = g_strdup (name_mimetypes[0]);
992 return mimetype;
1002 char *mimetype;
1011 mimetype = g_strdup_printf ("%s/%.*s", prefix, (int) strlen (ent->d_name) - 4, ent->d_name);
1012 g_hash_table_replace (mimetypes, mimetype, NULL);
1103 gchar *mimetype;
1121 g_free (matchlet->mimetype);
1203 matchlet->mimetype = g_strdup (parts[i]);
1527 if (matchlet->mimetype)
1578 if (result && matchlet->mimetype)
1580 if (strcmp (matchlet->mimetype, g_file_info_get_content_type (info)) != 0)