aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-icon-factory.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-02-10 07:02:51 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-02-10 07:02:51 +0800
commit1040078ce60b4641e5a3cdad6a2cef14660e63a3 (patch)
tree0c59410ca87afb492bfa60cf43668b7af6f72533 /e-util/e-icon-factory.c
parent64984ad5b86bb5c97868107d462825cbfa301e30 (diff)
downloadgsoc2013-evolution-1040078ce60b4641e5a3cdad6a2cef14660e63a3.tar
gsoc2013-evolution-1040078ce60b4641e5a3cdad6a2cef14660e63a3.tar.gz
gsoc2013-evolution-1040078ce60b4641e5a3cdad6a2cef14660e63a3.tar.bz2
gsoc2013-evolution-1040078ce60b4641e5a3cdad6a2cef14660e63a3.tar.lz
gsoc2013-evolution-1040078ce60b4641e5a3cdad6a2cef14660e63a3.tar.xz
gsoc2013-evolution-1040078ce60b4641e5a3cdad6a2cef14660e63a3.tar.zst
gsoc2013-evolution-1040078ce60b4641e5a3cdad6a2cef14660e63a3.zip
Update API documentation.
Also, start fixing some Gtk-Doc warnings. There's a lot.
Diffstat (limited to 'e-util/e-icon-factory.c')
-rw-r--r--e-util/e-icon-factory.c21
1 files changed, 13 insertions, 8 deletions
diff --git a/e-util/e-icon-factory.c b/e-util/e-icon-factory.c
index 4f4b8d3a40..61b0b6acf0 100644
--- a/e-util/e-icon-factory.c
+++ b/e-util/e-icon-factory.c
@@ -125,11 +125,13 @@ e_icon_factory_get_icon (const gchar *icon_name,
/**
* e_icon_factory_pixbuf_scale
- * Scales pixbuf to desired size.
- * @param pixbuf Pixbuf to be scaled.
- * @param width Desired width, if less or equal to 0, then changed to 1.
- * @param height Desired height, if less or equal to 0, then changed to 1.
- * @return Scaled pixbuf.
+ * @pixbuf: a #GdkPixbuf
+ * @width: desired width, if less or equal to 0, then changed to 1
+ * @height: desired height, if less or equal to 0, then changed to 1
+ *
+ * Scales @pixbuf to desired size.
+ *
+ * Returns: a scaled #GdkPixbuf
**/
GdkPixbuf *
e_icon_factory_pixbuf_scale (GdkPixbuf *pixbuf, gint width, gint height)
@@ -151,9 +153,12 @@ e_icon_factory_pixbuf_scale (GdkPixbuf *pixbuf, gint width, gint height)
/**
* e_icon_factory_create_thumbnail
- * Creates system thumbnail for a file filename.
- * @param filename The file name to create the thumbnail for.
- * @return Path to system thumbnail of the file; NULL if couldn't create it. Free it with g_free.
+ * @filename: the file name to create the thumbnail for
+ *
+ * Creates system thumbnail for @filename.
+ *
+ * Returns: Path to system thumbnail of the file; %NULL if couldn't
+ * create it. Free it with g_free().
**/
gchar *
e_icon_factory_create_thumbnail (const gchar *filename)