[MPlayer-cvslog] r34558 - in trunk/gui/wm: ws.c wsxdnd.c wsxdnd.h

ib subversion at mplayerhq.hu
Fri Jan 13 17:36:06 CET 2012


Author: ib
Date: Fri Jan 13 17:36:06 2012
New Revision: 34558

Log:
Remove unused parameter from wsXDNDProcessClientMessage().

Modified:
   trunk/gui/wm/ws.c
   trunk/gui/wm/wsxdnd.c
   trunk/gui/wm/wsxdnd.h

Modified: trunk/gui/wm/ws.c
==============================================================================
--- trunk/gui/wm/ws.c	Fri Jan 13 17:19:35 2012	(r34557)
+++ trunk/gui/wm/ws.c	Fri Jan 13 17:36:06 2012	(r34558)
@@ -688,7 +688,7 @@ Bool wsEvents(Display *display, XEvent *
             }
         } else {
             /* try to process DND events */
-            wsXDNDProcessClientMessage(wsWindowList[l], &Event->xclient);
+            wsXDNDProcessClientMessage(&Event->xclient);
         }
 
         break;

Modified: trunk/gui/wm/wsxdnd.c
==============================================================================
--- trunk/gui/wm/wsxdnd.c	Fri Jan 13 17:19:35 2012	(r34557)
+++ trunk/gui/wm/wsxdnd.c	Fri Jan 13 17:36:06 2012	(r34558)
@@ -150,7 +150,7 @@ wsXDNDProcessSelection(wsTWindow* wnd, X
 }
 
 Bool
-wsXDNDProcessClientMessage(wsTWindow* wnd, XClientMessageEvent *event)
+wsXDNDProcessClientMessage(XClientMessageEvent *event)
 {
   /* test */
   /*{

Modified: trunk/gui/wm/wsxdnd.h
==============================================================================
--- trunk/gui/wm/wsxdnd.h	Fri Jan 13 17:19:35 2012	(r34557)
+++ trunk/gui/wm/wsxdnd.h	Fri Jan 13 17:36:06 2012	(r34558)
@@ -23,7 +23,7 @@
 
 void wsXDNDInitialize(void);
 Bool wsXDNDProcessSelection(wsTWindow* wnd,XEvent *event);
-Bool wsXDNDProcessClientMessage(wsTWindow* wnd, XClientMessageEvent *event);
+Bool wsXDNDProcessClientMessage(XClientMessageEvent *event);
 void wsXDNDMakeAwareness(wsTWindow* window);
 void wsXDNDClearAwareness(wsTWindow* window);
 


More information about the MPlayer-cvslog mailing list