seamus

commit bf906044f714870a0662be33f7409342fff2ee5c

Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>

ui: rename fetch queue method

 include/queue.h | 2 +-
 src/queue.c | 2 +-
 src/ui.c | 2 +-


diff --git a/include/queue.h b/include/queue.h
index 25791504a7e857c39246f1ac13cb0c7ba183f5ca..feb90de7902e6119e33494b0d55b35a12c267400 100644
--- a/include/queue.h
+++ b/include/queue.h
@@ -2,7 +2,7 @@ #ifndef SEAMUS_QUEUE
 #define SEAMUS_QUEUE
 #include "seamus.h"
 
-int fetch_mpd_from_current_queue(struct seamus_frontend *seamus, int max_count);
+int fetch_current_queue(struct seamus_frontend *seamus, int max_count);
 void print_songs_from_queue(struct seamus_frontend *seamus);
 
 #endif




diff --git a/src/queue.c b/src/queue.c
index 0d843b489ece8ef012c2a0619fa49f1d797b18ef..64bdbb23696f3e34ce28d221706840ebad455aaa 100644
--- a/src/queue.c
+++ b/src/queue.c
@@ -4,7 +4,7 @@ #include 
 #include "seamus.h"
 
 int
-fetch_mpd_from_current_queue(struct seamus_frontend *seamus, int max_count)
+fetch_current_queue(struct seamus_frontend *seamus, int max_count)
 {
 	assert(seamus->conn != NULL);
 




diff --git a/src/ui.c b/src/ui.c
index 27c191c21e22ed6633e903eaddf54873ec6f624e..e8cf55e9373094835006489e5e7cb182da097779 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -140,7 +140,7 @@
 	int max_songs = tickit_window_lines(win) - 5;
 	log_debug("Max songs allowed: %d of total %d lines", max_songs, tickit_window_lines(win));
 
-	fetch_mpd_from_current_queue(seamus, max_songs);
+	fetch_current_queue(seamus, max_songs);
 
 	if (seamus->queue_size > 0) {
 		for (size_t i = 0; i < seamus->queue_size; ++i) {