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

ib subversion at mplayerhq.hu
Thu Jan 17 19:01:06 CET 2013


Author: ib
Date: Thu Jan 17 19:01:06 2013
New Revision: 35773

Log:
Remove unused structure member wGCV.

Additionally, change parameters to XCreateGC() call, because no
XGCValues are actually being set.

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

Modified: trunk/gui/wm/ws.c
==============================================================================
--- trunk/gui/wm/ws.c	Thu Jan 17 18:41:44 2013	(r35772)
+++ trunk/gui/wm/ws.c	Thu Jan 17 19:01:06 2013	(r35773)
@@ -946,8 +946,8 @@ void wsCreateWindow(wsWindow *win, int x
     XSetWMIconName(wsDisplay, win->WindowID, &wsTextProperty);
 
     win->wGC = XCreateGC(wsDisplay, win->WindowID,
-                         GCForeground | GCBackground,
-                         &win->wGCV);
+                         0,
+                         NULL);
 
     win->Visible = wsNo;
     win->Focused = wsNo;

Modified: trunk/gui/wm/ws.h
==============================================================================
--- trunk/gui/wm/ws.h	Thu Jan 17 18:41:44 2013	(r35772)
+++ trunk/gui/wm/ws.h	Thu Jan 17 19:01:06 2013	(r35773)
@@ -148,7 +148,6 @@ typedef struct {
     unsigned short int *ImageDataw;
     unsigned int *ImageDatadw;
     GC wGC;
-    XGCValues wGCV;
     unsigned long WindowMask;
     XVisualInfo VisualInfo;
     XSetWindowAttributes WindowAttrib;


More information about the MPlayer-cvslog mailing list