diff options
author | Timm Bäder <mail@baedert.org> | 2019-05-08 17:02:14 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2019-05-14 08:51:03 +0200 |
commit | 2164c3dba7838a576480aaecc06052db616ab497 (patch) | |
tree | 08ec5eb61ffb189101e80ac948bc95bc123bb72f /gtk/gtkcellrendererpixbuf.c | |
parent | 8cd1a4a09571ee6e34ae6b405f5754f4e0f76b22 (diff) | |
download | gtk+-2164c3dba7838a576480aaecc06052db616ab497.tar.gz |
cellrendererpixbuf: Remove an unused local variable
Diffstat (limited to 'gtk/gtkcellrendererpixbuf.c')
-rw-r--r-- | gtk/gtkcellrendererpixbuf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkcellrendererpixbuf.c b/gtk/gtkcellrendererpixbuf.c index 25b7ad4c21..f30ccccf97 100644 --- a/gtk/gtkcellrendererpixbuf.c +++ b/gtk/gtkcellrendererpixbuf.c @@ -497,7 +497,6 @@ gtk_cell_renderer_pixbuf_snapshot (GtkCellRenderer *cell, GtkCellRendererPixbufPrivate *priv = cellpixbuf->priv; GtkStyleContext *context; GdkRectangle pix_rect; - GdkRectangle draw_rect; gboolean is_expander; gint xpad, ypad; GtkIconHelper *icon_helper; @@ -515,7 +514,7 @@ gtk_cell_renderer_pixbuf_snapshot (GtkCellRenderer *cell, pix_rect.width -= xpad * 2; pix_rect.height -= ypad * 2; - if (!gdk_rectangle_intersect (cell_area, &pix_rect, &draw_rect)) + if (!gdk_rectangle_intersect (cell_area, &pix_rect, NULL)) return; context = gtk_widget_get_style_context (widget); |