diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-06-02 16:46:28 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-06-02 16:46:28 +0200 |
commit | 1d622aa59c7e80cdfa71c24331dc2255b66960f4 (patch) | |
tree | 1427105e0ee05fa41a8b2c811835637750f5ce18 /source | |
parent | 3e4622807425d9ca9964591a9c7c5b8e0fdd7c18 (diff) |
Change ThemeHighlight to RofiHighlightColorStyle
Diffstat (limited to 'source')
-rw-r--r-- | source/helper.c | 2 | ||||
-rw-r--r-- | source/theme.c | 2 | ||||
-rw-r--r-- | source/view.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source/helper.c b/source/helper.c index a299e612..b1220fbd 100644 --- a/source/helper.c +++ b/source/helper.c @@ -399,7 +399,7 @@ int find_arg_char ( const char * const key, char *val ) return FALSE; } -PangoAttrList *helper_token_match_get_pango_attr ( ThemeHighlight th, GRegex **tokens, const char *input, PangoAttrList *retv ) +PangoAttrList *helper_token_match_get_pango_attr ( RofiHighlightColorStyle th, GRegex **tokens, const char *input, PangoAttrList *retv ) { // Do a tokenized match. if ( tokens ) { diff --git a/source/theme.c b/source/theme.c index 6d620faa..f4f41003 100644 --- a/source/theme.c +++ b/source/theme.c @@ -626,7 +626,7 @@ GList *rofi_theme_get_list ( const widget *widget, const char * property, const return NULL; } -ThemeHighlight rofi_theme_get_highlight ( widget *widget, const char *property, ThemeHighlight th ) +RofiHighlightColorStyle rofi_theme_get_highlight ( widget *widget, const char *property, RofiHighlightColorStyle th ) { ThemeWidget *wid = rofi_theme_find_widget ( widget->name, widget->state, FALSE ); Property *p = rofi_theme_find_property ( wid, P_HIGHLIGHT, property, FALSE ); diff --git a/source/view.c b/source/view.c index 72a98dcb..2b036481 100644 --- a/source/view.c +++ b/source/view.c @@ -911,7 +911,7 @@ static void update_callback ( textbox *t, unsigned int index, void *udata, TextB textbox_icon ( t, icon ); if ( state->tokens && config.show_match ) { - ThemeHighlight th = { ROFI_HL_BOLD | ROFI_HL_UNDERLINE, { 0.0, 0.0, 0.0, 0.0 } }; + RofiHighlightColorStyle th = { ROFI_HL_BOLD | ROFI_HL_UNDERLINE, { 0.0, 0.0, 0.0, 0.0 } }; th = rofi_theme_get_highlight ( WIDGET ( t ), "highlight", th ); helper_token_match_get_pango_attr ( th, state->tokens, textbox_get_visible_text ( t ), list ); } |