From 2682625e7d525df2714836b4eeecc7e18220f4cc Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Tue, 9 Aug 2016 19:05:03 -0300 Subject: [PATCH] eeshow/gui.c (setup_styles): we no longer need this (compose on the fly) --- eeshow/gui.c | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/eeshow/gui.c b/eeshow/gui.c index a835821..4f85d74 100644 --- a/eeshow/gui.c +++ b/eeshow/gui.c @@ -383,26 +383,6 @@ static void go_to_sheet(struct gui_ctx *ctx, struct gui_sheet *sheet); static bool go_up_sheet(struct gui_ctx *ctx); -/* ----- Overlay styles ---------------------------------------------------- */ - - -static struct overlay_style style_dense; -static struct overlay_style style_dense_selected; -static struct overlay_style style_dense_diff_new; -static struct overlay_style style_dense_diff_old; - - -static void setup_styles(void) -{ - style_dense = overlay_style_dense; - style_dense_selected = overlay_style_dense_selected; - style_dense_diff_new = overlay_style_diff_new; - style_dense_diff_old = overlay_style_diff_old; - style_dense.wmax = style_dense_selected.wmax = - style_dense_diff_new.wmax = style_dense_diff_old.wmax = 400; -} - - /* ----- Revision history -------------------------------------------------- */ @@ -1094,8 +1074,6 @@ int gui(unsigned n_args, char **args, bool recurse) return 1; } - setup_styles(); - window = gtk_window_new(GTK_WINDOW_TOPLEVEL); ctx.da = gtk_drawing_area_new();