From 27b089e430bd702c61e186f4db0bdf84eec12a81 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 21 Jan 2012 11:49:35 +0000 Subject: [PATCH] Fix prototype --- src/handlers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/handlers.c b/src/handlers.c index 09e9f11e..6fd64a11 100644 --- a/src/handlers.c +++ b/src/handlers.c @@ -511,7 +511,7 @@ ignore_end: * important fields in the event data structure). * */ -static int handle_destroy_notify_event(xcb_destroy_notify_event_t *event) { +static void handle_destroy_notify_event(xcb_destroy_notify_event_t *event) { DLOG("destroy notify for 0x%08x, 0x%08x\n", event->event, event->window); xcb_unmap_notify_event_t unmap; @@ -519,7 +519,7 @@ static int handle_destroy_notify_event(xcb_destroy_notify_event_t *event) { unmap.event = event->event; unmap.window = event->window; - return handle_unmap_notify_event(&unmap); + handle_unmap_notify_event(&unmap); } /* -- 2.39.5