Mercurial > mplayer.hg
comparison gui/wm/ws.c @ 35679:23183b261ca9
Remove unused structure member wGCV.
Additionally, change parameters to XCreateGC() call, because no
XGCValues are actually being set.
author | ib |
---|---|
date | Thu, 17 Jan 2013 18:01:06 +0000 |
parents | 2261c68180a7 |
children | eca669983e9a |
comparison
equal
deleted
inserted
replaced
35678:2261c68180a7 | 35679:23183b261ca9 |
---|---|
944 wsTextProperty.format = 8; | 944 wsTextProperty.format = 8; |
945 wsTextProperty.nitems = strlen(label); | 945 wsTextProperty.nitems = strlen(label); |
946 XSetWMIconName(wsDisplay, win->WindowID, &wsTextProperty); | 946 XSetWMIconName(wsDisplay, win->WindowID, &wsTextProperty); |
947 | 947 |
948 win->wGC = XCreateGC(wsDisplay, win->WindowID, | 948 win->wGC = XCreateGC(wsDisplay, win->WindowID, |
949 GCForeground | GCBackground, | 949 0, |
950 &win->wGCV); | 950 NULL); |
951 | 951 |
952 win->Visible = wsNo; | 952 win->Visible = wsNo; |
953 win->Focused = wsNo; | 953 win->Focused = wsNo; |
954 win->Mapped = wsNo; | 954 win->Mapped = wsNo; |
955 win->Rolled = wsNo; | 955 win->Rolled = wsNo; |