[Xfce4-commits] [apps/xfce4-terminal] 01/01: Use correct member of GtkStateFlags enum
noreply at xfce.org
noreply at xfce.org
Mon May 13 17:08:51 CEST 2019
This is an automated email from the git hooks/post-receive script.
f 2 4 0 4 p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfce4-terminal.
commit d1c258a739ef32055387f8ddcde00967baf98cd8
Author: Avinash Sonawane <rootkea at gmail.com>
Date: Sun May 12 17:12:38 2019 +0530
Use correct member of GtkStateFlags enum
Signed-off-by: Igor <f2404 at yandex.ru>
---
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;
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list