From 516164e78e2434634c410faba35976f378d0ee51 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sat, 27 Aug 2011 23:54:10 +0000 Subject: [PATCH] add an RPC session callback for when queue order changes --- libtransmission/rpcimpl.c | 11 ++++++----- libtransmission/transmission.h | 1 + macosx/Controller.h | 1 + macosx/Controller.m | 20 ++++++++++++++++++++ macosx/Torrent.m | 1 - 5 files changed, 28 insertions(+), 6 deletions(-) diff --git a/libtransmission/rpcimpl.c b/libtransmission/rpcimpl.c index 6f302f652..16ef3f7d9 100644 --- a/libtransmission/rpcimpl.c +++ b/libtransmission/rpcimpl.c @@ -187,11 +187,12 @@ getTorrents( tr_session * session, } static void -notifyBatchChange( tr_session * session, tr_torrent ** torrents, int n ) +notifyBatchQueueChange( tr_session * session, tr_torrent ** torrents, int n ) { int i; for( i=0; iqueuePosition;