summaryrefslogtreecommitdiff
path: root/src/trg-files-model.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <alan@eth0.org.uk>2012-06-10 21:32:32 +0100
committerGravatar Alan Fitton <alan@eth0.org.uk>2012-06-10 21:32:32 +0100
commitc36c8cb77ea74329a0d57c1e7ed67ea72f69ec1f (patch)
tree3490ef7839e9614f87973100bd6c8c6ffb26da0d /src/trg-files-model.c
parenta46c8201c42ac4ae85b50a5a1930759f8537d3c7 (diff)
issue 186 - apply to all combo box in torrent add dialog
Diffstat (limited to 'src/trg-files-model.c')
-rw-r--r--src/trg-files-model.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/trg-files-model.c b/src/trg-files-model.c
index 1368a7c..2698e07 100644
--- a/src/trg-files-model.c
+++ b/src/trg-files-model.c
@@ -18,6 +18,7 @@
*/
#include <string.h>
+#include <limits.h>
#include <gtk/gtk.h>
#include <json-glib/json-glib.h>
@@ -409,8 +410,8 @@ trg_files_model_update(TrgFilesModel * model, GtkTreeView * tv,
filesListLength > TRG_FILES_MODEL_CREATE_THREAD_IF_GT;
/* If this update has more than a given number of files, build up the
- * simple tree in a thread, then g_idle_add a function whichs
- * add the contents of this prebuilt tree.
+ * simple tree in a thread, then g_idle_add a function which
+ * adds the contents of this prebuilt tree.
*
* If less than or equal to, I don't think it's worth spawning threads
* for. Just do it in the main loop.