[evince/wip/gpoo/gtk4-rebase-port: 55/96] ev-view: remove useless blend node




commit f49c222c91a1e29b06aae41287c6bd59160f04fa
Author: Qiu Wenbo <qiuwenbo kylinos com cn>
Date:   Thu Aug 26 17:45:06 2021 +0800

    ev-view: remove useless blend node
    
    Signed-off-by: Qiu Wenbo <qiuwenbo kylinos com cn>

 libview/ev-view.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/libview/ev-view.c b/libview/ev-view.c
index c2c0d442a..c607ecfc6 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -7401,7 +7401,6 @@ draw_selection_region (GtkSnapshot    *snapshot,
                (gtk_widget_has_focus (widget) ? GTK_STATE_FLAG_SELECTED : GTK_STATE_FLAG_ACTIVE);
        gtk_style_context_set_state (context, state);
 
-       gtk_snapshot_push_blend (snapshot, GSK_BLEND_MODE_MULTIPLY);
        gtk_snapshot_save (snapshot);
        gtk_snapshot_translate (snapshot, &GRAPHENE_POINT_INIT (x, y));
 
@@ -7415,9 +7414,6 @@ draw_selection_region (GtkSnapshot    *snapshot,
        }
 
        gtk_snapshot_restore (snapshot);
-       gtk_snapshot_pop (snapshot);
-       gtk_snapshot_pop (snapshot);
-
        gtk_style_context_restore (context);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]