/* Returns: TRUE if the file type corresponds to a type that can be executable, FALSE otherwise.  */
gboolean g_content_type_can_be_executable(const gchar *type)
/* Returns: TRUE if the file type corresponds to a type that can be executable, FALSE otherwise.  */
gboolean g_content_type_can_be_executable(const gchar *type)
{
  g_return_val_if_fail (type != NULL, FALSE);
  if (g_content_type_is_a (type, "application/x-executable")  ||
      g_content_type_is_a (type, "text/plain"))
    return TRUE;
  return FALSE;
}