aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-chat-window.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-01-03 20:04:38 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-01-03 20:08:05 +0800
commit12b23410bd90309789d3f3b5206f0cde015c31b0 (patch)
tree1f4f50b3828d7db65469253563599a31992f7b0a /src/empathy-chat-window.c
parent079d54dd90b551a5ca520a244fc93933d13d942d (diff)
downloadgsoc2013-empathy-12b23410bd90309789d3f3b5206f0cde015c31b0.tar
gsoc2013-empathy-12b23410bd90309789d3f3b5206f0cde015c31b0.tar.gz
gsoc2013-empathy-12b23410bd90309789d3f3b5206f0cde015c31b0.tar.bz2
gsoc2013-empathy-12b23410bd90309789d3f3b5206f0cde015c31b0.tar.lz
gsoc2013-empathy-12b23410bd90309789d3f3b5206f0cde015c31b0.tar.xz
gsoc2013-empathy-12b23410bd90309789d3f3b5206f0cde015c31b0.tar.zst
gsoc2013-empathy-12b23410bd90309789d3f3b5206f0cde015c31b0.zip
factor out empathy_notify_manager_create_notification()
https://bugzilla.gnome.org/show_bug.cgi?id=691043
Diffstat (limited to 'src/empathy-chat-window.c')
-rw-r--r--src/empathy-chat-window.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index b971daff4..06d1b0cec 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -1574,7 +1574,9 @@ chat_window_show_or_update_notification (EmpathyChatWindow *self,
const gchar *category = empathy_chat_is_room (chat)
? EMPATHY_NOTIFICATION_CATEGORY_MENTIONED
: EMPATHY_NOTIFICATION_CATEGORY_CHAT;
- notification = notify_notification_new (header, escaped, NULL);
+
+ notification = empathy_notify_manager_create_notification (header,
+ escaped, NULL);
if (self->priv->notification == NULL)
self->priv->notification = notification;