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

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

diff --git a/src/wcore.c b/src/wcore.c
index d1be048..6e0bca8 100644
--- a/src/wcore.c
+++ b/src/wcore.c
@@ -71,30 +71,6 @@ void wcore_map_toplevel(WCoreWindow *core, WScreen *screen, 
int x, int y, int bw
        XSaveContext(dpy, core->window, w_global.context.client_win, (XPointer) 
& core->descriptor);
 }
 
-/*----------------------------------------------------------------------
- * wCoreCreate--
- *     Creates a brand new child window.
- *     The window will have a border width of 0 and color is black.
- *
- * Returns:
- *     A initialized core window structure.
- *
- * Side effects:
- *     A window context for the created window is saved.
- *
- * Notes:
- *     The event mask is initialized to a default value.
- *--------------------------------------------------------------------- */
-WCoreWindow *wCoreCreate(WCoreWindow *parent, int x, int y, int width, int 
height)
-{
-       WCoreWindow *core;
-
-       core = wcore_create(width, height);
-       wcore_map(core, parent, parent->screen_ptr, x, y, 0, 
parent->screen_ptr->w_depth, parent->screen_ptr->w_visual, 
parent->screen_ptr->w_colormap);
-
-       return core;
-}
-
 void wcore_map(WCoreWindow *core, WCoreWindow *parent, WScreen *screen, int x, 
int y, int bwidth, int depth, Visual *visual, Colormap colormap)
 {
        int vmask;
diff --git a/src/wcore.h b/src/wcore.h
index 8a93535..7fe5281 100644
--- a/src/wcore.h
+++ b/src/wcore.h
@@ -41,9 +41,6 @@ typedef struct _WCoreWindow {
        WStacking *stacking;            /* window stacking information */
 } WCoreWindow;
 
-WCoreWindow *wCoreCreate(WCoreWindow *parent, int x, int y,
-                        int width, int height);
-
 void wCoreDestroy(WCoreWindow *core);
 void wCoreConfigure(WCoreWindow *core, int req_x, int req_y,
                    int req_w, int req_h);
-- 
1.8.4.rc3


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

Reply via email to