aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
{