[glib] emblemedicon: add docs for _clear_emblems()
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] emblemedicon: add docs for _clear_emblems()
- Date: Wed, 15 Dec 2010 11:50:35 +0000 (UTC)
commit bfee021cfb24a97b99612f6314e9309f3a70f6db
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Dec 15 12:49:22 2010 +0100
emblemedicon: add docs for _clear_emblems()
docs/reference/gio/gio-sections.txt | 1 +
gio/gemblemedicon.c | 8 ++++++++
gio/gio.symbols | 1 +
3 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/docs/reference/gio/gio-sections.txt b/docs/reference/gio/gio-sections.txt
index 50a8de0..5fbe1c7 100644
--- a/docs/reference/gio/gio-sections.txt
+++ b/docs/reference/gio/gio-sections.txt
@@ -506,6 +506,7 @@ g_emblemed_icon_new
g_emblemed_icon_get_icon
g_emblemed_icon_get_emblems
g_emblemed_icon_add_emblem
+g_emblemed_icon_clear_emblems
<SUBSECTION Standard>
GEmblemedIconClass
G_EMBLEMED_ICON
diff --git a/gio/gemblemedicon.c b/gio/gemblemedicon.c
index 331f35d..01f8abe 100644
--- a/gio/gemblemedicon.c
+++ b/gio/gemblemedicon.c
@@ -160,6 +160,14 @@ g_emblemed_icon_get_emblems (GEmblemedIcon *emblemed)
return emblemed->emblems;
}
+/**
+ * g_emblemed_icon_clear_emblems:
+ * @emblemed: a #GEmblemedIcon
+ *
+ * Remove alls the emblems from @icon.
+ *
+ * Since: 2.28
+ **/
void
g_emblemed_icon_clear_emblems (GEmblemedIcon *emblemed)
{
diff --git a/gio/gio.symbols b/gio/gio.symbols
index b76cc5c..e4b6f8a 100644
--- a/gio/gio.symbols
+++ b/gio/gio.symbols
@@ -1081,6 +1081,7 @@ g_emblemed_icon_new
g_emblemed_icon_get_icon
g_emblemed_icon_get_emblems
g_emblemed_icon_add_emblem
+g_emblemed_icon_clear_emblems
#endif
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]