diff options
author | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-05-27 05:53:07 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-05-27 06:13:40 +0800 |
commit | 1b942ad48a848dedcb632895a1ac198c13993380 (patch) | |
tree | b0403c385f42c221a652087f9e5d7522f973bffe /embed | |
parent | f09209d1b359efeeebe7a2e5e5477be773723e2c (diff) | |
download | gsoc2013-epiphany-1b942ad48a848dedcb632895a1ac198c13993380.tar gsoc2013-epiphany-1b942ad48a848dedcb632895a1ac198c13993380.tar.gz gsoc2013-epiphany-1b942ad48a848dedcb632895a1ac198c13993380.tar.bz2 gsoc2013-epiphany-1b942ad48a848dedcb632895a1ac198c13993380.tar.lz gsoc2013-epiphany-1b942ad48a848dedcb632895a1ac198c13993380.tar.xz gsoc2013-epiphany-1b942ad48a848dedcb632895a1ac198c13993380.tar.zst gsoc2013-epiphany-1b942ad48a848dedcb632895a1ac198c13993380.zip |
e-download: document get_content_type
Diffstat (limited to 'embed')
-rw-r--r-- | 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 81a04461f..ceab3339c 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) { |