[gtk+/wip/baedert/gl: 18/90] treeview: Don't draw background twice
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/gl: 18/90] treeview: Don't draw background twice
- Date: Fri, 8 Dec 2017 20:11:23 +0000 (UTC)
commit b04ae5c82d4762c2a5380b79623dd354a1318f26
Author: Timm Bäder <mail baedert org>
Date: Fri Dec 8 16:46:46 2017 +0100
treeview: Don't draw background twice
This is done unconditionally for all widgets these days.
gtk/gtktreeview.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index fcc849b..e44673f 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -5222,10 +5222,6 @@ gtk_tree_view_snapshot (GtkWidget *widget,
width = gtk_widget_get_width (widget);
height = gtk_widget_get_height (widget);
- gtk_snapshot_render_background (snapshot, context,
- 0, 0,
- width, height);
-
gtk_snapshot_push_clip (snapshot,
&GRAPHENE_RECT_INIT(
0, gtk_tree_view_get_effective_header_height (tree_view),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]