From 750cf96eeb6bf1443f6a0fb2cd3113e7fa94c06b Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Wed, 19 Dec 2007 15:56:35 +1100 Subject: [PATCH] Remove un-needed function. --- awesome.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/awesome.c b/awesome.c index 25e6cd810..2b9f2acda 100644 --- a/awesome.c +++ b/awesome.c @@ -223,13 +223,6 @@ setup(int screen) grabkeys(screen); } -static void -setup_screen(int screen) -{ - setup(screen); - statusbar_init(screen); -} - /** Startup Error handler to check if another window manager * is already running. * \param disp Display @@ -343,7 +336,8 @@ main(int argc, char *argv[]) for(screen = 0; screen < get_screen_count(); screen++) { /* set screen */ - setup_screen(screen); + setup(screen); + statusbar_init(screen); statusbar_draw(screen); }