[gtk+/wip/baedert/drawing: 57/66] iconview: Stop drawing a background
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 57/66] iconview: Stop drawing a background
- Date: Thu, 15 Jun 2017 19:57:44 +0000 (UTC)
commit a08fe7957cf4a7ff7df22f5be0cfd4070db88e98
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]