aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Durner <durner@gnunet.org>2006-12-21 17:27:29 +0000
committerNils Durner <durner@gnunet.org>2006-12-21 17:27:29 +0000
commit3360426981a7680cf6c46a4bd4cf3fa1e918abd5 (patch)
tree9f94947b9b46ef572428e717f53bcf7468fca0a7
parentf118b9b960893d245ae85ccf5f91f9740515f9d1 (diff)
downloadgnunet-gtk-3360426981a7680cf6c46a4bd4cf3fa1e918abd5.tar.gz
gnunet-gtk-3360426981a7680cf6c46a4bd4cf3fa1e918abd5.zip
quick hack to fix Win
-rw-r--r--src/plugins/fs/download.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/fs/download.c b/src/plugins/fs/download.c
index cadb3f34..1f7e4cb7 100644
--- a/src/plugins/fs/download.c
+++ b/src/plugins/fs/download.c
@@ -264,9 +264,13 @@ fs_download_started(struct FSUI_DownloadList * fsui_dl,
264 if (dl_parent != NULL) { 264 if (dl_parent != NULL) {
265 /* have parent, must be download from 265 /* have parent, must be download from
266 directory inside of search */ 266 directory inside of search */
267 /* FIXME: this requires GTK 2.8. Since it doesn't support Win9x, the quick
268 solution is to #ifndef it */
269#ifndef MINGW
267 GE_BREAK(ectx, 270 GE_BREAK(ectx,
268 gtk_tree_row_reference_get_model(dl_parent->searchViewRowReference) 271 gtk_tree_row_reference_get_model(dl_parent->searchViewRowReference)
269 == model); 272 == model);
273#endif
270 path = gtk_tree_row_reference_get_path(dl_parent->searchViewRowReference); 274 path = gtk_tree_row_reference_get_path(dl_parent->searchViewRowReference);
271 if (path != NULL) { 275 if (path != NULL) {
272 valid = gtk_tree_model_get_iter(model, 276 valid = gtk_tree_model_get_iter(model,