The function wCoreCreateTopLevel is not longer used, so it can be removed.

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

diff --git a/src/wcore.c b/src/wcore.c
index 2e7cf1b..d1be048 100644
--- a/src/wcore.c
+++ b/src/wcore.c
@@ -40,23 +40,6 @@ WCoreWindow *wcore_create(int width, int height)
        return core;
 }
 
-/*----------------------------------------------------------------------
- * wCoreCreateTopLevel--
- *     Creates a toplevel window used for icons, menus and dialogs.
- *
- * Returns:
- *     The created window.
- *--------------------------------------------------------------------- */
-WCoreWindow *wCoreCreateTopLevel(WScreen *screen, int x, int y, int width, int 
height, int bwidth, int depth, Visual *visual, Colormap colormap, WMPixel 
border_pixel)
-{
-       WCoreWindow *core;
-
-       core = wcore_create(width, height);
-       wcore_map_toplevel(core, screen, x, y, bwidth, depth, visual, colormap, 
border_pixel);
-
-       return core;
-}
-
 void wcore_map_toplevel(WCoreWindow *core, WScreen *screen, int x, int y, int 
bwidth, int depth, Visual *visual, Colormap colormap, WMPixel border_pixel)
 {
        int vmask;
diff --git a/src/wcore.h b/src/wcore.h
index f56c739..8a93535 100644
--- a/src/wcore.h
+++ b/src/wcore.h
@@ -41,11 +41,6 @@ typedef struct _WCoreWindow {
        WStacking *stacking;            /* window stacking information */
 } WCoreWindow;
 
-WCoreWindow *wCoreCreateTopLevel(WScreen *screen, int x, int y, int width,
-                                int height, int bwidth,
-                                int depth, Visual *visual, Colormap colormap,
-                                WMPixel border_pixel);
-
 WCoreWindow *wCoreCreate(WCoreWindow *parent, int x, int y,
                         int width, int height);
 
-- 
1.8.4.rc3


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

Reply via email to