Mercurial > audlegacy-plugins
diff src/mtp_up/mtp.c @ 1675:ae9b0327b620
Fix plugins to conform with PLAYLIST_{UN}LOCK() change.
| author | Matti Hamalainen <ccr@tnsp.org> |
|---|---|
| date | Sun, 09 Sep 2007 22:06:10 +0300 |
| parents | 88f5ba93f3dd |
| children | f35f9d6fcb6d |
line wrap: on
line diff
--- a/src/mtp_up/mtp.c Sat Sep 08 21:21:30 2007 -0500 +++ b/src/mtp_up/mtp.c Sun Sep 09 22:06:10 2007 +0300 @@ -110,7 +110,7 @@ Playlist *current_play = playlist_get_active(); node = current_play->entries; - PLAYLIST_LOCK(current_play->mutex); /*needed so that the user doesn't modify the selection*/ + PLAYLIST_LOCK(current_play); /*needed so that the user doesn't modify the selection*/ while (node) /*while creating the list of files to be uploaded*/ { entry = PLAYLIST_ENTRY(node->data); @@ -122,7 +122,7 @@ } node = g_list_next(node); } - PLAYLIST_UNLOCK(current_play->mutex); + PLAYLIST_UNLOCK(current_play); return g_list_reverse(up_list); }
