[gtk+/wip/baedert/drawing: 229/348] iconview: Stop drawing a background



commit 928687632e5400147ff29fd03a82265d91ba9e10
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]