From bfee021cfb24a97b99612f6314e9309f3a70f6db Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Wed, 15 Dec 2010 12:49:22 +0100 Subject: [PATCH] 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(+) diff --git a/docs/reference/gio/gio-sections.txt b/docs/reference/gio/gio-sections.txt index 50a8de05d..5fbe1c7a1 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 GEmblemedIconClass G_EMBLEMED_ICON diff --git a/gio/gemblemedicon.c b/gio/gemblemedicon.c index 331f35de7..01f8abe70 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 b76cc5c7d..e4b6f8a1a 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