window: remove GetXY

This commit is contained in:
Andrzej Rybczak
2012-08-30 06:21:21 +02:00
parent 5989cc6317
commit 0447b4e881
3 changed files with 5 additions and 33 deletions

View File

@@ -215,8 +215,8 @@ void NcmpcppStatusChanged(MPD::Connection *, MPD::StatusChanges changed, void *)
static std::string player_state;
static MPD::Song np;
int sx, sy;
wFooter->GetXY(sx, sy);
int sx = wFooter->X();
int sy = wFooter->Y();
myPlaylist->NowPlaying = Mpd.GetCurrentlyPlayingSongPos();