Remove none used gui styling for completion.
authorDaniel Carl <danielcarl@gmx.de>
Mon, 7 May 2018 21:13:14 +0000 (23:13 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Mon, 7 May 2018 21:13:14 +0000 (23:13 +0200)
src/completion.c
src/main.h

index 7022e54..709861c 100644 (file)
@@ -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
     );
index a15d1d0..c6568bf 100644 (file)
@@ -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;