From: Christophe CURIS <christophe.cu...@free.fr>

The two arguments 'types' and 'typeCount' are not needed by that function,
so remove them.

Signed-off-by: Christophe CURIS <christophe.cu...@free.fr>
---
 WINGs/dragdestination.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/WINGs/dragdestination.c b/WINGs/dragdestination.c
index 6ea680f..0d9434d 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)
-- 
1.8.4.rc3


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to