From fc148e46095818ea185aa7ec24233a09b41b7e3c Mon Sep 17 00:00:00 2001 From: Avinash Sonawane Date: Sun, 12 May 2019 17:12:38 +0530 Subject: [PATCH] Use correct member of GtkStateFlags enum --- terminal/terminal-screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terminal/terminal-screen.c b/terminal/terminal-screen.c index 03bb5c0..9a23f15 100644 --- a/terminal/terminal-screen.c +++ b/terminal/terminal-screen.c @@ -1080,7 +1080,7 @@ terminal_screen_update_colors (TerminalScreen *screen) has_bg = terminal_preferences_get_color (screen->preferences, "color-background", &bg); if (use_theme || !has_bg) { - gtk_style_context_get_background_color (context, GTK_STATE_ACTIVE, &bg); + gtk_style_context_get_background_color (context, GTK_STATE_FLAG_ACTIVE, &bg); has_bg = TRUE; } } @@ -1092,7 +1092,7 @@ terminal_screen_update_colors (TerminalScreen *screen) has_fg = terminal_preferences_get_color (screen->preferences, "color-foreground", &fg); if (use_theme || !has_fg) { - gtk_style_context_get_color (context, GTK_STATE_ACTIVE, &fg); + gtk_style_context_get_color (context, GTK_STATE_FLAG_ACTIVE, &fg); has_fg = TRUE; } } -- 2.11.0