Code

*: use Compiler.h macros instead of glib.h
[ncmpc.git] / src / screen_artist.c
index d488a7b9cb5a0090c280fefbfb34a749c3f9b304..5ff6f9b81c8d258128fab32783c5da9b1de7b95a 100644 (file)
@@ -335,7 +335,7 @@ screen_artist_resize(int cols, int rows)
  */
 static void
 paint_artist_callback(WINDOW *w, unsigned i,
-                     G_GNUC_UNUSED unsigned y, unsigned width,
+                     gcc_unused unsigned y, unsigned width,
                      bool selected, void *data)
 {
        GPtrArray *list = data;
@@ -353,7 +353,7 @@ paint_artist_callback(WINDOW *w, unsigned i,
  */
 static void
 paint_album_callback(WINDOW *w, unsigned i,
-                    G_GNUC_UNUSED unsigned y, unsigned width,
+                    gcc_unused unsigned y, unsigned width,
                     bool selected, void *data)
 {
        GPtrArray *list = data;