From e5b71631aacf92ba8d242e0a3e3763555b8c751c Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 12 Nov 2009 13:25:23 +0000 Subject: change empathy_notification_is_enabled to empathy_notify_manager_notification_is_enabled Making it a method of EmpathyNotifyManager would allow us to cache the gconf values if we want to. --- src/empathy-chat-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/empathy-chat-window.c') diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c index fc64d340f..4d99afd31 100644 --- a/src/empathy-chat-window.c +++ b/src/empathy-chat-window.c @@ -1080,7 +1080,7 @@ chat_window_show_or_update_notification (EmpathyChatWindow *window, EmpathyChatWindowPriv *priv = GET_PRIV (window); gboolean res; - if (!empathy_notification_is_enabled ()) { + if (!empathy_notify_manager_notification_is_enabled (priv->notify_mgr)) { return; } else { empathy_conf_get_bool (empathy_conf_get (), -- cgit v1.2.3