From: Daniel Carl Date: Mon, 7 May 2018 21:13:14 +0000 (+0200) Subject: Remove none used gui styling for completion. X-Git-Url: https://git.owens.tech///git?a=commitdiff_plain;h=1ecd8d5f3dc382de8d0daba084ded8e806f62133;p=vimb.git Remove none used gui styling for completion. --- 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;