[evince/wip/gpoo/gtk4-rebase-port: 56/96] ev-view: fix selection foreground color
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [evince/wip/gpoo/gtk4-rebase-port: 56/96] ev-view: fix selection foreground color
- Date: Sun, 20 Mar 2022 21:50:29 +0000 (UTC)
commit f2bda52e965354029408f410ad95b8e594f8ccd5
Author: Qiu Wenbo <qiuwenbo kylinos com cn>
Date:   Thu Aug 26 18:27:10 2021 +0800
    ev-view: fix selection foreground color
    
    Signed-off-by: Qiu Wenbo <qiuwenbo kylinos com cn>
 libview/ev-view.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libview/ev-view.c b/libview/ev-view.c
index c607ecfc6..48ed1f1fa 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -7376,7 +7376,7 @@ _ev_view_get_selection_colors (EvView  *view,
         }
 
        if (fg_color)
-               gtk_style_context_get_color (context, fg_color);
+               gtk_style_context_lookup_color (context, "accent_fg_color", fg_color);
 }
 
 static void
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]