Skip to content

Commit

Permalink
remove unneeded var from apple song notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
ravachol committed Dec 13, 2024
1 parent 00da543 commit c950bcb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/kew.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ void notifySongSwitch(SongData *currentSongData, UISettings *ui)
displaySongNotification(currentSongData->metadata->artist, currentSongData->metadata->title, currentSongData->coverArtPath, ui);

#elif __APPLE__
displaySongNotificationApple(currentSongData->metadata->artist, currentSongData->metadata->title, currentSongData->coverArtPath, ui);
displaySongNotificationApple(currentSongData->metadata->artist, currentSongData->metadata->title, ui);
#else
(void)ui;
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/notifications.c
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ void sendNotification(const char *artist, const char *title)
system(command);
}

int displaySongNotificationApple(const char *artist, const char *title, const char *cover, UISettings *ui)
int displaySongNotificationApple(const char *artist, const char *title, UISettings *ui)
{
if (!ui->allowNotifications)
{
Expand Down
2 changes: 1 addition & 1 deletion src/notifications.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ int displaySongNotification(const char *artist, const char *title, const char *c

#ifdef __APPLE__

int displaySongNotificationApple(const char *artist, const char *title, const char *cover, UISettings *ui);
int displaySongNotificationApple(const char *artist, const char *title, UISettings *ui);

#endif

Expand Down

0 comments on commit c950bcb

Please sign in to comment.