[nautilus] canvas-item: fix casting
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] canvas-item: fix casting
- Date: Tue, 19 Apr 2016 11:29:37 +0000 (UTC)
commit e65443112558b2f613749b65627f294732b4e70e
Author: Carlos Soriano <csoriano gnome org>
Date: Mon Apr 18 10:13:29 2016 +0200
canvas-item: fix casting
Having so many deprecation warnings obscure the real warnings... :/
Should run more frequently with those disabled.
libnautilus-private/nautilus-canvas-item.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-canvas-item.c b/libnautilus-private/nautilus-canvas-item.c
index accee93..547b9fe 100644
--- a/libnautilus-private/nautilus-canvas-item.c
+++ b/libnautilus-private/nautilus-canvas-item.c
@@ -682,7 +682,7 @@ nautilus_canvas_item_get_max_text_width (NautilusCanvasItem *item)
canvas_item = EEL_CANVAS_ITEM (item);
- container = canvas_item->canvas;
+ container = NAUTILUS_CANVAS_CONTAINER (canvas_item->canvas);
switch (nautilus_canvas_container_get_zoom_level (container)) {
case NAUTILUS_CANVAS_ZOOM_LEVEL_SMALL:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]