summaryrefslogtreecommitdiff
path: root/thunar/thunar-renamer-model.c
diff options
context:
space:
mode:
authorAndre Miranda <andreldm@xfce.org>2018-05-29 23:20:41 -0300
committerAndre Miranda <andreldm@xfce.org>2018-05-29 23:20:41 -0300
commit24322ac18d711cfa9e2bdf6237611bf6029f966f (patch)
tree84df232c1e8481351b07b9031f6ff81c8c76c96b /thunar/thunar-renamer-model.c
parentc5b37dd84e25044c90f29fa638b288264272d4e9 (diff)
downloadthunar-24322ac18d711cfa9e2bdf6237611bf6029f966f.tar.gz
Fix more warnings
Diffstat (limited to 'thunar/thunar-renamer-model.c')
-rw-r--r--thunar/thunar-renamer-model.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thunar/thunar-renamer-model.c b/thunar/thunar-renamer-model.c
index aeb3ea0f..e8fd4cff 100644
--- a/thunar/thunar-renamer-model.c
+++ b/thunar/thunar-renamer-model.c
@@ -987,7 +987,7 @@ thunar_renamer_model_item_new (ThunarFile *file)
ThunarRenamerModelItem *item;
item = g_slice_new0 (ThunarRenamerModelItem);
- item->file = g_object_ref (G_OBJECT (file));
+ item->file = THUNAR_FILE (g_object_ref (G_OBJECT (file)));
item->date_changed = thunar_file_get_date (file, THUNAR_FILE_DATE_CHANGED);
item->dirty = TRUE;