summaryrefslogtreecommitdiff
path: root/src/trg-torrent-add-dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/trg-torrent-add-dialog.h')
-rw-r--r--src/trg-torrent-add-dialog.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/trg-torrent-add-dialog.h b/src/trg-torrent-add-dialog.h
index 0f45e2c..ab6721e 100644
--- a/src/trg-torrent-add-dialog.h
+++ b/src/trg-torrent-add-dialog.h
@@ -46,28 +46,12 @@ typedef struct {
GtkDialogClass parent_class;
} TrgTorrentAddDialogClass;
-/* Use synchronous dispatch() in our dedicated thread function.
- * This means torrents are added in sequence, instead of dispatch_async()
- * working concurrently for each upload.
- */
-
-struct add_torrent_threadfunc_args {
- GSList *list;
- TrgClient *client;
- gpointer cb_data;
- guint flags;
- gchar *dir;
- gint priority;
- gboolean extraArgs;
-};
-
GType trg_torrent_add_dialog_get_type(void);
TrgTorrentAddDialog *trg_torrent_add_dialog_new(TrgMainWindow * win,
TrgClient * client,
GSList * filenames);
void trg_torrent_add_dialog(TrgMainWindow * win, TrgClient * client);
-void launch_add_thread(struct add_torrent_threadfunc_args *args);
G_END_DECLS
#endif /* TRG_TORRENT_ADD_DIALOG_H_ */