aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-chat-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-chat-window.c')
-rw-r--r--src/empathy-chat-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 83f9c8166..d7c1a398f 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -845,13 +845,13 @@ static void
chat_window_notification_closed_cb (NotifyNotification *notify,
NotificationData *cb_data)
{
- int reason = 0;
+ EmpathyNotificationClosedReason reason = 0;
EmpathyChatWindowPriv *priv = GET_PRIV (cb_data->window);
#ifdef notify_notification_get_closed_reason
reason = notify_notification_get_closed_reason (notify);
#endif
- if (reason == NOTIFICATION_CLOSED_DISMISSED) {
+ if (reason == EMPATHY_NOTIFICATION_CLOSED_DISMISSED) {
empathy_chat_window_present_chat (cb_data->chat);
}