[epiphany] e-download: document get_content_type



commit 1b942ad48a848dedcb632895a1ac198c13993380
Author: Diego Escalante Urrelo <diegoe igalia com>
Date:   Sat May 26 16:53:07 2012 -0500

    e-download: document get_content_type

 embed/ephy-download.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-download.c b/embed/ephy-download.c
index 81a0446..ceab333 100644
--- a/embed/ephy-download.c
+++ b/embed/ephy-download.c
@@ -140,6 +140,16 @@ ephy_download_set_property (GObject      *object,
   }
 }
 
+/**
+ * ephy_download_get_content_type:
+ * @download: an #EphyDownload
+ *
+ * Gets content-type information for @download. If the file is already
+ * present on the filesystem and readable, uses GIO to get the
+ * content-type. Otherwise it uses WebKit and Soup.
+ *
+ * Returns: content-type for @download, must be freed with g_free()
+ **/
 char *
 ephy_download_get_content_type (EphyDownload *download)
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]