projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83c79d4
)
Fix missing references for the current directory in pan folder stuff.
author
Laurent Monin
<geeqie@norz.org>
Thu, 3 Jul 2008 18:16:39 +0000
(18:16 +0000)
committer
Laurent Monin
<geeqie@norz.org>
Thu, 3 Jul 2008 18:16:39 +0000
(18:16 +0000)
It was causing an fd magick assertion failure.
Bug reported by Omari Stephens.
src/pan-folder.c
patch
|
blob
|
history
diff --git
a/src/pan-folder.c
b/src/pan-folder.c
index
c499453
..
8d1be7b
100644
(file)
--- a/
src/pan-folder.c
+++ b/
src/pan-folder.c
@@
-239,7
+239,7
@@
static FlowerGroup *pan_flower_group(PanWindow *pw, FileData *dir_fd, gint x, gi
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
@@
static void pan_folder_tree_path(PanWindow *pw, FileData *dir_fd,
*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,