summaryrefslogtreecommitdiff
path: root/src/netwm.c
diff options
context:
space:
mode:
authorViktor Odintsev <zakhams@gmail.com>2017-07-02 21:26:41 +0300
committerViktor Odintsev <ninetls@xfce.org>2017-07-02 21:26:41 +0300
commitc225a438c82f97d8992c21d3260da6a9274c65a6 (patch)
tree7c41fa39330a0e8c0a2fbdbac44e1092bed5263b /src/netwm.c
parent5ca6f2e7bf8ef7b5214cb07d885884d0cb673993 (diff)
downloadxfwm4-c225a438c82f97d8992c21d3260da6a9274c65a6.tar.gz
Remove usage of deprecated macroses and private fields
Diffstat (limited to 'src/netwm.c')
-rw-r--r--src/netwm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/netwm.c b/src/netwm.c
index 7f48beaf4..12a220ee2 100644
--- a/src/netwm.c
+++ b/src/netwm.c
@@ -1517,8 +1517,7 @@ clientSendNetWMPing (Client *c, guint32 timestamp)
c->ping_timeout_id =
g_timeout_add_full (G_PRIORITY_DEFAULT,
CLIENT_PING_TIMEOUT,
- (GtkFunction) ping_timeout_cb,
- (gpointer) c, NULL);
+ ping_timeout_cb, c, NULL);
return (TRUE);
}