Rename queues teardown function

Make it consistent with the queues_init function
This commit is contained in:
Benedikt Heine 2018-11-23 13:50:46 +01:00
parent 0410a9369b
commit 28f30d182b
3 changed files with 4 additions and 4 deletions

View File

@ -101,7 +101,7 @@ static void teardown(void)
{
regex_teardown();
teardown_queues();
queues_teardown();
draw_deinit();
}

View File

@ -518,7 +518,7 @@ bool queues_pause_status(void)
}
/**
* Helper function for teardown_queues() to free a single notification
* Helper function for queues_teardown() to free a single notification
*
* @param data The notification to free
*/
@ -529,7 +529,7 @@ static void teardown_notification(gpointer data)
}
/* see queues.h */
void teardown_queues(void)
void queues_teardown(void)
{
g_queue_free_full(history, teardown_notification);
g_queue_free_full(displayed, teardown_notification);

View File

@ -181,7 +181,7 @@ bool queues_pause_status(void);
*
* @pre At least one time queues_init() called
*/
void teardown_queues(void);
void queues_teardown(void);
#endif
/* vim: set tabstop=8 shiftwidth=8 expandtab textwidth=0: */