static gboolean pixbuf_can_load_type (const char *mime_type) { GHashTable *image_mime_types; image_mime_types = get_types_table (); if (g_hash_table_lookup (image_mime_types, mime_type)) { return TRUE; } return FALSE; }
gboolean nautilus_thumbnail_is_mimetype_limited_by_size (const char *mime_type) { GHashTable *image_mime_types; image_mime_types = get_types_table (); if (g_hash_table_lookup (image_mime_types, mime_type)) { return TRUE; } return FALSE; }