[gtk+/wip/baedert/drawing: 23/73] iconview: Stop drawing a background
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 23/73] iconview: Stop drawing a background
- Date: Thu, 22 Jun 2017 08:07:15 +0000 (UTC)
commit 77e57b6465d5028e977bdd5f262fe4331fdb7df4
Author: Timm Bäder <mail baedert org>
Date: Mon Jun 5 11:22:11 2017 +0200
iconview: Stop drawing a background
GtkWidget is doing that automatically now.
gtk/gtkiconview.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index fcb25b5..89d28c3 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -1731,10 +1731,6 @@ gtk_icon_view_snapshot (GtkWidget *widget,
icon_view = GTK_ICON_VIEW (widget);
context = gtk_widget_get_style_context (widget);
- gtk_snapshot_render_background (snapshot, context,
- 0, 0,
- gtk_widget_get_allocated_width (widget),
- gtk_widget_get_allocated_height (widget));
gtk_snapshot_push_clip (snapshot,
&GRAPHENE_RECT_INIT (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]