summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2018-05-07 23:13:14 +0200
committerDaniel Carl <danielcarl@gmx.de>2018-05-07 23:13:14 +0200
commit1ecd8d5f3dc382de8d0daba084ded8e806f62133 (patch)
tree77a1504565a8d36801b94b0badaad7c0697672de /src
parente47b1b01b1acdad5c5fc9d43cfb2b3292caffa31 (diff)
Remove none used gui styling for completion.
Diffstat (limited to 'src')
-rw-r--r--src/completion.c2
-rw-r--r--src/main.h8
2 files changed, 0 insertions, 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
@@ -103,10 +103,6 @@ typedef enum {
} VbInputType;
enum {
- COMP_NORMAL, COMP_ACTIVE, COMP_LAST
-};
-
-enum {
FILES_BOOKMARK,
FILES_CLOSED,
FILES_COMMAND,
@@ -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;