diff options
Diffstat (limited to 'src/core/boxes.c')
-rw-r--r-- | src/core/boxes.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/core/boxes.c b/src/core/boxes.c index c9ce916a..e05924e6 100644 --- a/src/core/boxes.c +++ b/src/core/boxes.c @@ -764,12 +764,6 @@ meta_rectangle_expand_to_avoiding_struts (MetaRectangle *rect, } /* end loop over struts */ } /* end meta_rectangle_expand_to_avoiding_struts */ -void -meta_rectangle_free_list_and_elements (GList *filled_list) -{ - g_list_free_full (filled_list, g_free); -} - gboolean meta_rectangle_could_fit_in_region (const GList *spanning_rects, const MetaRectangle *rect) @@ -1783,7 +1777,7 @@ meta_rectangle_find_onscreen_edges (const MetaRectangle *basic_rect, ret = g_list_sort (ret, meta_rectangle_edge_cmp); /* Free the fixed struts list */ - meta_rectangle_free_list_and_elements (fixed_strut_rects); + g_list_free_full (fixed_strut_rects, g_free); return ret; } |