aboutsummaryrefslogtreecommitdiff
path: root/src/volume.c
diff options
context:
space:
mode:
authorThomas Jansen <mithi@mithi.net>2008-12-02 02:22:43 +0100
committerThomas Jansen <mithi@mithi.net>2008-12-02 02:22:43 +0100
commit2720585731eb6a39fece86fb675a644b8ea803ae (patch)
tree43c66f17c1266e484b6f8fa9951cdd98920a0f2b /src/volume.c
parent4ca24f22f191033e5dbb88f34e4088bc2814ed0f (diff)
replaced mpd_likely/mpd_unlikely by G_LIKELY/G_UNLIKELY
We want to remove gcc.h eventually. This takes care of all the G_LIKELY/G_UNLIKELY macros.
Diffstat (limited to 'src/volume.c')
-rw-r--r--src/volume.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/volume.c b/src/volume.c
index 9fd33f01..fedccfd7 100644
--- a/src/volume.c
+++ b/src/volume.c
@@ -526,7 +526,7 @@ void read_sw_volume_state(FILE *fp)
if (!g_str_has_prefix(buf, SW_VOLUME_STATE))
continue;
sv = strtol(buf + strlen(SW_VOLUME_STATE), &end, 10);
- if (mpd_likely(!*end))
+ if (G_LIKELY(!*end))
changeSoftwareVolume(sv, 0);
else
ERROR("Can't parse software volume: %s\n", buf);