Rename queues teardown function
Make it consistent with the queues_init function
This commit is contained in:
parent
0410a9369b
commit
28f30d182b
@ -101,7 +101,7 @@ static void teardown(void)
|
||||
{
|
||||
regex_teardown();
|
||||
|
||||
teardown_queues();
|
||||
queues_teardown();
|
||||
|
||||
draw_deinit();
|
||||
}
|
||||
|
@ -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);
|
||||
|
@ -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: */
|
||||
|
Loading…
x
Reference in New Issue
Block a user