# HG changeset patch # User zas_ # Date 1215108999 0 # Node ID f103af877504f5c2cd43bb7030a7e068a9df8ceb # Parent fa39a4d786ad4fd8a0275f0e2cc3e8f2535f4f0e Fix missing references for the current directory in pan folder stuff. It was causing an fd magick assertion failure. Bug reported by Omari Stephens. diff -r fa39a4d786ad -r f103af877504 src/pan-folder.c --- a/src/pan-folder.c Thu Jul 03 08:33:10 2008 +0000 +++ b/src/pan-folder.c Thu Jul 03 18:16:39 2008 +0000 @@ -239,7 +239,7 @@ y += pi_box->height; - pi_box = pan_item_box_new(pw, dir_fd, + pi_box = pan_item_box_new(pw, file_data_ref(dir_fd), x, y, PAN_BOX_BORDER * 2, PAN_BOX_BORDER * 2, PAN_BOX_OUTLINE_THICKNESS, @@ -385,7 +385,7 @@ *y += pi_box->height; - pi_box = pan_item_box_new(pw, dir_fd, + pi_box = pan_item_box_new(pw, file_data_ref(dir_fd), *x, *y, PAN_BOX_BORDER, PAN_BOX_BORDER, PAN_BOX_OUTLINE_THICKNESS,