Trim trailing white spaces.
[geeqie.git] / src / pan-timeline.c
index 0699485..d65c4b2 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Geeqie
  * (C) 2006 John Ellis
- * Copyright (C) 2008 - 2009 The Geeqie Team
+ * Copyright (C) 2008 - 2012 The Geeqie Team
  *
  * Author: John Ellis
  *
@@ -91,7 +91,7 @@ void pan_timeline_compute(PanWindow *pw, FileData *dir_fd, gint *width, gint *he
                                g_free(buf);
                                y += pi->height;
 
-                               pi_month = pan_item_box_new(pw, file_data_new_simple(fd->path),
+                               pi_month = pan_item_box_new(pw, file_data_ref(fd),
                                                            x, y, 0, 0,
                                                            PAN_BOX_OUTLINE_THICKNESS,
                                                            PAN_BOX_COLOR, PAN_BOX_ALPHA,
@@ -133,7 +133,7 @@ void pan_timeline_compute(PanWindow *pw, FileData *dir_fd, gint *width, gint *he
 
                        y += pi->height;
 
-                       pi_day = pan_item_box_new(pw, file_data_new_simple(fd->path), x, y, 0, 0,
+                       pi_day = pan_item_box_new(pw, file_data_ref(fd), x, y, 0, 0,
                                                  PAN_BOX_OUTLINE_THICKNESS,
                                                  PAN_BOX_COLOR, PAN_BOX_ALPHA,
                                                  PAN_BOX_OUTLINE_COLOR, PAN_BOX_OUTLINE_ALPHA);