From 2c6c8aac350405ca61b0de9eae33eca240396072 Mon Sep 17 00:00:00 2001 From: Thomas Jansen Date: Mon, 24 Nov 2008 03:48:38 +0100 Subject: [PATCH] screen_play.c: replaced mpd_unused by G_GNUC_UNUSED --- src/screen_play.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/screen_play.c b/src/screen_play.c index aff41ba..6fd586a 100644 --- a/src/screen_play.c +++ b/src/screen_play.c @@ -30,7 +30,6 @@ #include "screen.h" #include "screen_utils.h" #include "screen_play.h" -#include "gcc.h" #include #include @@ -91,7 +90,7 @@ playlist_changed_callback(mpdclient_t *c, int event, gpointer data) } static const char * -list_callback(unsigned idx, int *highlight, mpd_unused void *data) +list_callback(unsigned idx, int *highlight, G_GNUC_UNUSED void *data) { static char songname[MAX_SONG_LENGTH]; static scroll_state_t st; @@ -151,7 +150,8 @@ center_playing_item(mpdclient_t *c) #ifndef NCMPC_MINI static void -save_pre_completion_cb(GCompletion *gcmp, mpd_unused gchar *line, void *data) +save_pre_completion_cb(GCompletion *gcmp, G_GNUC_UNUSED gchar *line, + void *data) { completion_callback_data_t *tmp = (completion_callback_data_t *)data; GList **list = tmp->list; @@ -165,8 +165,9 @@ save_pre_completion_cb(GCompletion *gcmp, mpd_unused gchar *line, void *data) } static void -save_post_completion_cb(mpd_unused GCompletion *gcmp, mpd_unused gchar *line, - GList *items, mpd_unused void *data) +save_post_completion_cb(G_GNUC_UNUSED GCompletion *gcmp, + G_GNUC_UNUSED gchar *line, GList *items, + G_GNUC_UNUSED void *data) { if (g_list_length(items) >= 1) screen_display_completion_list(items); -- 2.30.2