summaryrefslogtreecommitdiff
path: root/src/netwm.c
diff options
context:
space:
mode:
authorOlivier Fourdan <fourdan@xfce.org>2021-02-02 20:44:53 +0100
committerOlivier Fourdan <fourdan@xfce.org>2021-02-02 20:44:53 +0100
commit1e6d4fc4816e6f7240fc39c689c87a5aa36ecead (patch)
tree4321d1aa3185396e5f94a4012a5424cd31f8cb2a /src/netwm.c
parent4fdcd5999dd87ca0199f2a0d5f92d35481815bf5 (diff)
downloadxfwm4-1e6d4fc4816e6f7240fc39c689c87a5aa36ecead.tar.gz
cleanup: Don't use parenthesis when returning constants
Signed-off-by: Olivier Fourdan <fourdan@xfce.org>
Diffstat (limited to 'src/netwm.c')
-rw-r--r--src/netwm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/netwm.c b/src/netwm.c
index b302d8d4e..e1acbca85 100644
--- a/src/netwm.c
+++ b/src/netwm.c
@@ -1499,7 +1499,7 @@ ping_timeout_cb (gpointer data)
TRACE ("ping timeout on client \"%s\"", c->name);
terminateShowDialog (c);
}
- return (FALSE);
+ return FALSE;
}
void
@@ -1549,7 +1549,7 @@ clientSendNetWMPing (Client *c, guint32 timestamp)
if (!FLAG_TEST (c->wm_flags, WM_FLAG_PING))
{
- return (FALSE);
+ return FALSE;
}
clientRemoveNetWMPing (c);
@@ -1572,7 +1572,7 @@ clientSendNetWMPing (Client *c, guint32 timestamp)
g_timeout_add_full (G_PRIORITY_DEFAULT,
CLIENT_PING_TIMEOUT,
ping_timeout_cb, c, NULL);
- return (TRUE);
+ return TRUE;
}
gboolean