mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-03 04:14:20 +01:00
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 <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
ca658beeb5
commit
e4664c6492
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user