From d51c0577848a93f1b07e99957e2a9bcc4a96b176 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jonathan=20Neusch=C3=A4fer?= Date: Wed, 4 Jan 2012 18:50:28 +0100 Subject: [PATCH] mpdclient: add G_GNUC_PURE to _is_connected()/_get_current_song() --- src/mpdclient.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mpdclient.h b/src/mpdclient.h index d46b8a1..3b02681 100644 --- a/src/mpdclient.h +++ b/src/mpdclient.h @@ -79,6 +79,7 @@ mpdclient_new(void); void mpdclient_free(struct mpdclient *c); +G_GNUC_PURE static inline bool mpdclient_is_connected(const struct mpdclient *c) { @@ -94,6 +95,7 @@ mpdclient_is_playing(const struct mpdclient *c) mpd_status_get_state(c->status) == MPD_STATE_PAUSE); } +G_GNUC_PURE static inline const struct mpd_song * mpdclient_get_current_song(const struct mpdclient *c) { -- 2.30.2