From: Michael Stapelberg Date: Sat, 21 Jan 2012 11:49:35 +0000 (+0000) Subject: Fix prototype X-Git-Tag: 4.1.2~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=27b089e430bd702c61e186f4db0bdf84eec12a81;p=i3%2Fi3 Fix prototype --- 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); } /*