Commit 8d0eb500 authored by Guillaume Desmottes's avatar Guillaume Desmottes

call: pass the proper flag to gtk_application_inhibit()

We have to use '|' to combine flags, not '&'...
parent d462005a
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment