mirror of
https://github.com/brl/mutter.git
synced 2025-07-24 02:18:02 +00:00
meta: Remove meta_free_gslist_and_elements
This function was added for historic reasons, before that we had GSlist's free_full function. Since this can be now easily implemented with a function call and an explicit GDestroyFunc, while no known dependency uses it let's move to use g_slist_free_func instead. https://gitlab.gnome.org/GNOME/mutter/merge_requests/57
This commit is contained in:
@@ -241,17 +241,6 @@ utf8_fputs (const char *str,
|
||||
return retval;
|
||||
}
|
||||
|
||||
/**
|
||||
* meta_free_gslist_and_elements: (skip)
|
||||
* @list_to_deep_free: list to deep free
|
||||
*
|
||||
*/
|
||||
void
|
||||
meta_free_gslist_and_elements (GSList *list_to_deep_free)
|
||||
{
|
||||
g_slist_free_full (list_to_deep_free, g_free);
|
||||
}
|
||||
|
||||
#ifdef WITH_VERBOSE_MODE
|
||||
void
|
||||
meta_debug_spew_real (const char *format, ...)
|
||||
|
Reference in New Issue
Block a user