xdgmime: plug a small leak
[platform/upstream/glib.git] / gio / gcontenttype.h
index 878cfd5..5e3d3ce 100644 (file)
@@ -1,5 +1,5 @@
 /* GIO - GLib Input, Output and Streaming Library
- * 
+ *
  * Copyright (C) 2006-2007 Red Hat, Inc.
  *
  * This library is free software; you can redistribute it and/or
 #ifndef __G_CONTENT_TYPE_H__
 #define __G_CONTENT_TYPE_H__
 
-#include <glib.h>
 #include <gio/giotypes.h>
 
 G_BEGIN_DECLS
 
-gboolean g_content_type_equals            (const char   *type1,
-                                          const char   *type2);
-gboolean g_content_type_is_a              (const char   *type,
-                                          const char   *supertype);
-gboolean g_content_type_is_unknown        (const char   *type);
-char *   g_content_type_get_description   (const char   *type);
-char *   g_content_type_get_mime_type     (const char   *type);
-GIcon *  g_content_type_get_icon          (const char   *type);
-gboolean g_content_type_can_be_executable (const char   *type);
-
-char *   g_content_type_from_mime_type    (const char   *mime_type);
-
-char *   g_content_type_guess             (const char   *filename,
-                                          const guchar *data,
-                                          gsize         data_size,
-                                          gboolean     *result_uncertain);
-
-char **  g_content_type_guess_for_tree    (GFile *root); 
+gboolean g_content_type_equals            (const gchar  *type1,
+                                           const gchar  *type2);
+gboolean g_content_type_is_a              (const gchar  *type,
+                                           const gchar  *supertype);
+gboolean g_content_type_is_unknown        (const gchar  *type);
+gchar *  g_content_type_get_description   (const gchar  *type);
+gchar *  g_content_type_get_mime_type     (const gchar  *type);
+GIcon *  g_content_type_get_icon          (const gchar  *type);
+GIcon *  g_content_type_get_symbolic_icon (const gchar  *type);
+gboolean g_content_type_can_be_executable (const gchar  *type);
+
+gchar *  g_content_type_from_mime_type    (const gchar  *mime_type);
+
+gchar *  g_content_type_guess             (const gchar  *filename,
+                                           const guchar *data,
+                                           gsize         data_size,
+                                           gboolean     *result_uncertain);
+
+gchar ** g_content_type_guess_for_tree    (GFile        *root);
 
 GList *  g_content_types_get_registered   (void);