The function wFrameWindowCreate is not used anymore. We can remove it.

Signed-off-by: Rodolfo García Peñas (kix) <[email protected]>
---
 src/framewin.c | 19 -------------------
 src/framewin.h | 10 ----------
 2 files changed, 29 deletions(-)

diff --git a/src/framewin.c b/src/framewin.c
index cb8b1c1..db7d5e9 100644
--- a/src/framewin.c
+++ b/src/framewin.c
@@ -129,25 +129,6 @@ void wframewindow_map(WFrameWindow *fwin, WScreen *scr, 
int wlevel,
        wFrameWindowUpdateBorders(fwin, flags);
 }
 
-
-WFrameWindow *wFrameWindowCreate(WScreen *scr, int wlevel, int x, int y,
-                                int width, int height, int *clearance,
-                                int *title_min, int *title_max, int flags,
-                                WTexture **title_texture, WTexture 
**resize_texture,
-                                WMColor **color, WMFont **font,
-                                int depth, Visual *visual, Colormap colormap)
-{
-       WFrameWindow *fwin;
-
-       fwin = wframewindow_create(width, height);
-       wframewindow_map(fwin, scr, wlevel, x, y, clearance,
-                        title_min, title_max, flags,
-                        title_texture, resize_texture, color, font,
-                        depth, visual, colormap);
-
-       return fwin;
-}
-
 void wFrameWindowUpdateBorders(WFrameWindow * fwin, int flags)
 {
        int theight;
diff --git a/src/framewin.h b/src/framewin.h
index f8ae911..9e79917 100644
--- a/src/framewin.h
+++ b/src/framewin.h
@@ -156,16 +156,6 @@ typedef struct WFrameWindow {
     unsigned long *selected_border_pixel;
 } WFrameWindow;
 
-
-WFrameWindow*
-wFrameWindowCreate(WScreen *scr, int wlevel, int x, int y,
-                   int width, int height, int *clearance,
-                   int *title_min, int *title_max, int flags,
-                   union WTexture **title_texture,
-                   union WTexture **resize_texture,
-                   WMColor **color, WMFont **font,
-                   int depth, Visual *visual, Colormap colormap);
-
 void wFrameWindowUpdateBorders(WFrameWindow *fwin, int flags);
 
 void wFrameWindowDestroy(WFrameWindow *fwin);
-- 
1.8.4.rc3


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

Reply via email to