From 1ecd8d5f3dc382de8d0daba084ded8e806f62133 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Mon, 7 May 2018 23:13:14 +0200 Subject: [PATCH] Remove none used gui styling for completion. --- src/completion.c | 2 -- src/main.h | 8 -------- 2 files changed, 10 deletions(-) diff --git a/src/completion.c b/src/completion.c index 7022e54..709861c 100644 --- a/src/completion.c +++ b/src/completion.c @@ -127,7 +127,6 @@ gboolean completion_create(Client *c, GtkTreeModel *model, renderer = gtk_cell_renderer_text_new(); g_object_set(renderer, - "font-desc", c->config.comp_font, "ellipsize", PANGO_ELLIPSIZE_MIDDLE, NULL ); @@ -143,7 +142,6 @@ gboolean completion_create(Client *c, GtkTreeModel *model, renderer = gtk_cell_renderer_text_new(); g_object_set(renderer, - "font-desc", c->config.comp_font, "ellipsize", PANGO_ELLIPSIZE_END, NULL ); diff --git a/src/main.h b/src/main.h index a15d1d0..c6568bf 100644 --- a/src/main.h +++ b/src/main.h @@ -102,10 +102,6 @@ typedef enum { INPUT_ALL = 0xff, /* map to match all input types */ } VbInputType; -enum { - COMP_NORMAL, COMP_ACTIVE, COMP_LAST -}; - enum { FILES_BOOKMARK, FILES_CLOSED, @@ -236,10 +232,6 @@ struct Client { guint scrollstep; gboolean input_autohide; gboolean incsearch; - /* completion */ - GdkRGBA comp_fg[COMP_LAST]; - GdkRGBA comp_bg[COMP_LAST]; - PangoFontDescription *comp_font; guint default_zoom; /* default zoom level in percent */ Shortcut *shortcuts; } config; -- 2.20.1