summaryrefslogtreecommitdiff
path: root/src/core/window.c
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2018-09-02 13:34:43 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2018-09-02 13:34:43 +0300
commit42caba8c77b5e316ab166714c35fe180233f1011 (patch)
treebfacdfcf676bb6bb60a8f23fce694ecb4749a9f8 /src/core/window.c
parent151dc0d16d6f3b1296e85fb1eed631f38ae38842 (diff)
downloadmetacity-42caba8c77b5e316ab166714c35fe180233f1011.tar.gz
util: remove meta_free_gslist_and_elements
Diffstat (limited to 'src/core/window.c')
-rw-r--r--src/core/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/window.c b/src/core/window.c
index cc482026..325f9294 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -1114,7 +1114,7 @@ meta_window_unmanage (MetaWindow *window,
if (window->struts)
{
- meta_free_gslist_and_elements (window->struts);
+ g_slist_free_full (window->struts, g_free);
window->struts = NULL;
meta_topic (META_DEBUG_WORKAREA,
@@ -6523,7 +6523,7 @@ meta_window_update_struts (MetaWindow *window)
changed = (old_iter != NULL || new_iter != NULL);
/* Update appropriately */
- meta_free_gslist_and_elements (old_struts);
+ g_slist_free_full (old_struts, g_free);
window->struts = new_struts;
if (changed)
{