From: Christophe CURIS <[email protected]>

---
 src/pixmap.c | 2 +-
 src/pixmap.h | 2 +-
 src/screen.c | 2 +-
 src/window.c | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/pixmap.c b/src/pixmap.c
index d6b9431..9bb0622 100644
--- a/src/pixmap.c
+++ b/src/pixmap.c
@@ -98,7 +98,7 @@ WPixmap *wPixmapCreateFromXBMData(WScreen * scr, char *data, 
char *mask,
        return pix;
 }
 
-WPixmap *wPixmapCreate(WScreen * scr, Pixmap image, Pixmap mask)
+WPixmap *wPixmapCreate(Pixmap image, Pixmap mask)
 {
        WPixmap *pix;
        Window foo;
diff --git a/src/pixmap.h b/src/pixmap.h
index 38afac2..094bd52 100644
--- a/src/pixmap.h
+++ b/src/pixmap.h
@@ -34,7 +34,7 @@ typedef struct WPixmap {
 } WPixmap;
 
 
-WPixmap *wPixmapCreate(WScreen *scr, Pixmap image, Pixmap mask);
+WPixmap *wPixmapCreate(Pixmap image, Pixmap mask);
 
 WPixmap *wPixmapCreateFromXPMData(WScreen *scr, char **data);
 
diff --git a/src/screen.c b/src/screen.c
index b723125..715894e 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -242,7 +242,7 @@ static WPixmap *make3Dots(WScreen * scr)
 
        XFreeGC(dpy, gc2);
 
-       wpix = wPixmapCreate(scr, pix, mask);
+       wpix = wPixmapCreate(pix, mask);
        wpix->shared = 1;
 
        return wpix;
diff --git a/src/window.c b/src/window.c
index 552b6f6..3146bb5 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2109,7 +2109,7 @@ void wWindowUpdateButtonImages(WWindow *wwin)
                        }
 
                        if (!fwin->lbutton_image) {
-                               fwin->lbutton_image = wPixmapCreate(scr, 
pixmap, mask);
+                               fwin->lbutton_image = wPixmapCreate(pixmap, 
mask);
                                fwin->lbutton_image->client_owned = 1;
                                fwin->lbutton_image->client_owned_mask = 1;
                        }
@@ -2150,7 +2150,7 @@ void wWindowUpdateButtonImages(WWindow *wwin)
                        }
 
                        if (!fwin->rbutton_image) {
-                               fwin->rbutton_image = wPixmapCreate(scr, 
pixmap, mask);
+                               fwin->rbutton_image = wPixmapCreate(pixmap, 
mask);
                                fwin->rbutton_image->client_owned = 1;
                                fwin->rbutton_image->client_owned_mask = 1;
                        }
-- 
1.8.4.rc3


-- 
To unsubscribe, send mail to [email protected].

Reply via email to