[glib] GIcon: Convert docs to markdown
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] GIcon: Convert docs to markdown
- Date: Sat, 1 Feb 2014 15:23:36 +0000 (UTC)
commit fee9194adeac05d843280c8726641e6004e7bc8a
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jan 31 23:01:30 2014 -0500
GIcon: Convert docs to markdown
gio/gicon.c | 19 +++++++------------
1 files changed, 7 insertions(+), 12 deletions(-)
---
diff --git a/gio/gicon.c b/gio/gicon.c
index b4685ab..00bc6c6 100644
--- a/gio/gicon.c
+++ b/gio/gicon.c
@@ -193,19 +193,14 @@ g_icon_to_string_tokenized (GIcon *icon, GString *s)
* The encoding of the returned string is proprietary to #GIcon except
* in the following two cases
*
- * <itemizedlist>
- * <listitem><para>
- * If @icon is a #GFileIcon, the returned string is a native path
- * (such as <literal>/path/to/my icon.png</literal>) without escaping
- * if the #GFile for @icon is a native file. If the file is not
- * native, the returned string is the result of g_file_get_uri()
- * (such as <literal>sftp://path/to/my%20icon.png</literal>).
- * </para></listitem>
- * <listitem><para>
- * If @icon is a #GThemedIcon with exactly one name, the encoding is
+ * - If @icon is a #GFileIcon, the returned string is a native path
+ * (such as <literal>/path/to/my icon.png</literal>) without escaping
+ * if the #GFile for @icon is a native file. If the file is not
+ * native, the returned string is the result of g_file_get_uri()
+ * (such as <literal>sftp://path/to/my%20icon.png</literal>).
+ *
+ * - If @icon is a #GThemedIcon with exactly one name, the encoding is
* simply the name (such as <literal>network-server</literal>).
- * </para></listitem>
- * </itemizedlist>
*
* Virtual: to_tokens
* Returns: An allocated NUL-terminated UTF8 string or %NULL if @icon can't
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]