diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2009-01-31 01:08:17 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-01-31 01:08:17 +0800 |
commit | bd36eff5533cf4021316a12dd9608dd21392cd1a (patch) | |
tree | c2fcb6c5a6118ef487cf897791b21da225d67eea /src/empathy-chat-window.c | |
parent | b7e7e719a516879202323b2dc6bf73403909bc32 (diff) | |
download | gsoc2013-empathy-bd36eff5533cf4021316a12dd9608dd21392cd1a.tar gsoc2013-empathy-bd36eff5533cf4021316a12dd9608dd21392cd1a.tar.gz gsoc2013-empathy-bd36eff5533cf4021316a12dd9608dd21392cd1a.tar.bz2 gsoc2013-empathy-bd36eff5533cf4021316a12dd9608dd21392cd1a.tar.lz gsoc2013-empathy-bd36eff5533cf4021316a12dd9608dd21392cd1a.tar.xz gsoc2013-empathy-bd36eff5533cf4021316a12dd9608dd21392cd1a.tar.zst gsoc2013-empathy-bd36eff5533cf4021316a12dd9608dd21392cd1a.zip |
Add an enum to define notification close reason.
svn path=/trunk/; revision=2298
Diffstat (limited to 'src/empathy-chat-window.c')
-rw-r--r-- | src/empathy-chat-window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c index 90091c795..fdf1f5443 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 = 1; + int 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 == 2) { + if (reason == NOTIFICATION_CLOSED_DISMISSED) { empathy_chat_window_present_chat (cb_data->chat); } |