summaryrefslogtreecommitdiff
path: root/eel
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-06-12 11:12:52 +0200
committerZenWalker <[email protected]>2019-06-15 13:35:01 +0200
commit3f0413a80e345b995e200fe7c94179435491b24d (patch)
treef1c7a53b309c51c5e3eaef71f95f62c42862bbe6 /eel
parent6370ad4ac2cf8b2c2cbd73b92b666659608fa9c3 (diff)
downloadcaja-3f0413a80e345b995e200fe7c94179435491b24d.tar.bz2
caja-3f0413a80e345b995e200fe7c94179435491b24d.tar.xz
eel-canvas: cppcheck: Local variable 'allocation' shadows outer variable
Fixes cppcheck warning: [eel/eel-canvas.c:3261] -> [eel/eel-canvas.c:3297]: (style) Local variable allocation shadows outer variable
Diffstat (limited to 'eel')
-rw-r--r--eel/eel-canvas.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c
index dc98bbc3..7efa67f8 100644
--- a/eel/eel-canvas.c
+++ b/eel/eel-canvas.c
@@ -3294,7 +3294,6 @@ eel_canvas_set_pixels_per_unit (EelCanvas *canvas, double n)
window = NULL;
if (gtk_widget_get_mapped (widget))
{
- GtkAllocation allocation;
attributes.window_type = GDK_WINDOW_CHILD;
gtk_widget_get_allocation (widget, &allocation);
attributes.x = allocation.x;