[empathy] add doc about empathy_status_presets_is_valid
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy] add doc about empathy_status_presets_is_valid
- Date: Thu, 18 Jun 2009 04:40:54 -0400 (EDT)
commit 0b6193d1e3f336b6d4dcd2b6ce9c90c5ce59edac
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Thu Jun 18 09:38:28 2009 +0100
add doc about empathy_status_presets_is_valid
libempathy/empathy-status-presets.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/libempathy/empathy-status-presets.c b/libempathy/empathy-status-presets.c
index ec3f232..c91895e 100644
--- a/libempathy/empathy-status-presets.c
+++ b/libempathy/empathy-status-presets.c
@@ -406,6 +406,14 @@ empathy_status_presets_clear_default (void)
status_presets_file_save ();
}
+/**
+ * empathy_status_presets_is_valid:
+ * @state: a #TpConnectionPresenceType
+ *
+ * Check if a presence type can be used as a preset.
+ *
+ * Returns: %TRUE if the presence type can be used as a preset.
+ */
gboolean
empathy_status_presets_is_valid (TpConnectionPresenceType state)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]