aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-06-18 16:38:28 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-06-18 16:38:28 +0800
commit0b6193d1e3f336b6d4dcd2b6ce9c90c5ce59edac (patch)
tree2a4ef3699e4eb36f1f20e99ffa1fcd2d6fd1f5ac /libempathy
parentf3696aa8cb23fc853e298f9614768233f69f1298 (diff)
downloadgsoc2013-empathy-0b6193d1e3f336b6d4dcd2b6ce9c90c5ce59edac.tar
gsoc2013-empathy-0b6193d1e3f336b6d4dcd2b6ce9c90c5ce59edac.tar.gz
gsoc2013-empathy-0b6193d1e3f336b6d4dcd2b6ce9c90c5ce59edac.tar.bz2
gsoc2013-empathy-0b6193d1e3f336b6d4dcd2b6ce9c90c5ce59edac.tar.lz
gsoc2013-empathy-0b6193d1e3f336b6d4dcd2b6ce9c90c5ce59edac.tar.xz
gsoc2013-empathy-0b6193d1e3f336b6d4dcd2b6ce9c90c5ce59edac.tar.zst
gsoc2013-empathy-0b6193d1e3f336b6d4dcd2b6ce9c90c5ce59edac.zip
add doc about empathy_status_presets_is_valid
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-status-presets.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libempathy/empathy-status-presets.c b/libempathy/empathy-status-presets.c
index ec3f23251..c91895eeb 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)
{