aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-notify-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-notify-manager.c')
-rw-r--r--libempathy-gtk/empathy-notify-manager.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-notify-manager.c b/libempathy-gtk/empathy-notify-manager.c
index ae1894ad9..0bb6b8561 100644
--- a/libempathy-gtk/empathy-notify-manager.c
+++ b/libempathy-gtk/empathy-notify-manager.c
@@ -132,3 +132,12 @@ empathy_notify_manager_dup_singleton (void)
return EMPATHY_NOTIFY_MANAGER (g_object_new (EMPATHY_TYPE_NOTIFY_MANAGER,
NULL));
}
+
+gboolean
+empathy_notify_manager_has_capability (EmpathyNotifyManager *self,
+ const gchar *capa)
+{
+ EmpathyNotifyManagerPriv *priv = GET_PRIV (self);
+
+ return g_hash_table_lookup (priv->capabilities, capa) != NULL;
+}