From e4664c6492168f068145f994d1f19e222c335f61 Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Fri, 1 Nov 2013 16:06:57 +0100 Subject: [PATCH] WINGs: Removed unused argument to function 'W_SetXdndAwareProperty' The two arguments 'types' and 'typeCount' are not needed by that function, so remove them. Signed-off-by: Christophe CURIS --- WINGs/dragdestination.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WINGs/dragdestination.c b/WINGs/dragdestination.c index 6ea680f7..0d9434d3 100644 --- a/WINGs/dragdestination.c +++ b/WINGs/dragdestination.c @@ -838,7 +838,7 @@ static void realizedObserver(void *self, WMNotification * notif) WMRemoveNotificationObserver(self); } -static void W_SetXdndAwareProperty(WMScreen * scr, WMView * view, Atom * types, int typeCount) +static void W_SetXdndAwareProperty(WMScreen *scr, WMView *view) { WMView *toplevel = W_TopLevelOfView(view); @@ -875,7 +875,7 @@ void WMRegisterViewForDraggedTypes(WMView * view, WMArray * acceptedTypes) view->droppableTypes = types; /* WMFreeArray(acceptedTypes); */ - W_SetXdndAwareProperty(W_VIEW_SCREEN(view), view, types, typeCount); + W_SetXdndAwareProperty(W_VIEW_SCREEN(view), view); } void WMUnregisterViewDraggedTypes(WMView * view) -- 2.11.4.GIT