[gtk+] treeview: Don't draw background twice
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] treeview: Don't draw background twice
- Date: Sat, 9 Dec 2017 12:12:12 +0000 (UTC)
commit da0582075ad34726f1042739278540ad00f0b891
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 5146b0f..fe5ec34 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]