aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThomas Jansen <mithi@mithi.net>2008-11-24 03:45:45 +0100
committerMax Kellermann <max@duempel.org>2008-11-24 07:47:38 +0100
commit144913785cf9c12f38dab253daec1375a7108205 (patch)
tree693ff0ec5fea7fa78bf85b2b1af018101c97691a /src
parentcbfb249e8cae4370e7bfb263e30b97410516f266 (diff)
downloadmpd-144913785cf9c12f38dab253daec1375a7108205.tar.gz
mpd-144913785cf9c12f38dab253daec1375a7108205.tar.xz
mpd-144913785cf9c12f38dab253daec1375a7108205.zip
screen_artist.c: replaced mpd_unused by G_GNUC_UNUSED
Diffstat (limited to 'src')
-rw-r--r--src/screen_artist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screen_artist.c b/src/screen_artist.c
index 01fbc9c1f..b3429fca9 100644
--- a/src/screen_artist.c
+++ b/src/screen_artist.c
@@ -26,7 +26,6 @@
#include "screen.h"
#include "screen_utils.h"
#include "screen_browser.h"
-#include "gcc.h"
#include <ctype.h>
#include <stdlib.h>
@@ -60,7 +59,8 @@ compare_utf8(gconstpointer s1, gconstpointer s2)
/* list_window callback */
static const char *
-artist_lw_callback(unsigned idx, mpd_unused int *highlight, mpd_unused void *data)
+artist_lw_callback(unsigned idx, G_GNUC_UNUSED int *highlight,
+ G_GNUC_UNUSED void *data)
{
GPtrArray *list = data;
static char buf[BUFSIZE];
@@ -301,7 +301,7 @@ reload_lists(struct mpdclient *c)
/* db updated */
static void
-browse_callback(mpdclient_t *c, int event, mpd_unused gpointer data)
+browse_callback(mpdclient_t *c, int event, G_GNUC_UNUSED gpointer data)
{
switch(event) {
case BROWSE_DB_UPDATED: