Code

*: use Compiler.h macros instead of glib.h
[ncmpc.git] / src / screen_artist.c
index 0b460a186cde08b68434749061f53d9e8321b624..5ff6f9b81c8d258128fab32783c5da9b1de7b95a 100644 (file)
@@ -1,25 +1,25 @@
 /* ncmpc (Ncurses MPD Client)
  * (c) 2004-2010 The Music Player Daemon Project
  * Project homepage: http://musicpd.org
-
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
-
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
-
+ *
  * You should have received a copy of the GNU General Public License along
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-*/
+ */
 
 #include "screen_artist.h"
 #include "screen_interface.h"
-#include "screen_message.h"
+#include "screen_status.h"
 #include "screen_find.h"
 #include "screen_browser.h"
 #include "screen.h"
@@ -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;