From 20bdcb57e7ec209b5c13f72b2cec0c7f1c76a5ac Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 25 May 2012 09:02:03 +0200 Subject: Remove --menu-style handling --- src/options.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/options.c') diff --git a/src/options.c b/src/options.c index 0d4d745..c27e11e 100644 --- a/src/options.c +++ b/src/options.c @@ -60,7 +60,6 @@ void init_parse_options(int argc, char **argv) opt.menu_font = estrdup(DEFAULT_MENU_FONT); opt.font = NULL; opt.menu_bg = estrdup(PREFIX "/share/feh/images/menubg_default.png"); - opt.menu_style = estrdup(PREFIX "/share/feh/fonts/menu.style"); opt.start_list_at = NULL; opt.jump_on_resort = 1; @@ -375,7 +374,6 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun) {"bg-tile" , 0, 0, 200}, {"bg-center" , 0, 0, 201}, {"bg-scale" , 0, 0, 202}, - {"menu-style" , 1, 0, 204}, {"zoom" , 1, 0, 205}, {"no-screen-clip", 0, 0, 206}, {"index-info" , 1, 0, 207}, @@ -629,11 +627,6 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun) case 219: opt.bgmode = BG_MODE_MAX; break; - case 204: - free(opt.menu_style); - opt.menu_style = estrdup(optarg); - weprintf("The --menu-style option is deprecated and will be removed by 2012"); - break; case 205: if (!strcmp("fill", optarg)) opt.zoom_mode = ZOOM_MODE_FILL; -- cgit v1.2.3