[empathy] call: pass the proper flag to gtk_application_inhibit()
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] call: pass the proper flag to gtk_application_inhibit()
- Date: Wed, 2 Jan 2013 10:31:41 +0000 (UTC)
commit 8d0eb500144999ede2897bb0dd3248b0aa3399ec
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Jan 2 11:29:58 2013 +0100
call: pass the proper flag to gtk_application_inhibit()
We have to use '|' to combine flags, not '&'...
src/empathy-call.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-call.c b/src/empathy-call.c
index 348866f..71fef2e 100644
--- a/src/empathy-call.c
+++ b/src/empathy-call.c
@@ -119,8 +119,8 @@ call_window_inhibit_cb (EmpathyCallWindow *window,
inhibit_id = gtk_application_inhibit (GTK_APPLICATION (app),
GTK_WINDOW (window),
- GTK_APPLICATION_INHIBIT_LOGOUT & GTK_APPLICATION_INHIBIT_SWITCH &
- GTK_APPLICATION_INHIBIT_SUSPEND & GTK_APPLICATION_INHIBIT_IDLE,
+ GTK_APPLICATION_INHIBIT_LOGOUT | GTK_APPLICATION_INHIBIT_SWITCH |
+ GTK_APPLICATION_INHIBIT_SUSPEND | GTK_APPLICATION_INHIBIT_IDLE,
_("In a call"));
}
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]