summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/helper.c2
-rw-r--r--source/theme.c2
-rw-r--r--source/view.c2
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 );
}