summaryrefslogtreecommitdiff
path: root/src/wm-tester
diff options
context:
space:
mode:
Diffstat (limited to 'src/wm-tester')
-rw-r--r--src/wm-tester/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wm-tester/main.c b/src/wm-tester/main.c
index 1581f666..d45b09f7 100644
--- a/src/wm-tester/main.c
+++ b/src/wm-tester/main.c
@@ -230,8 +230,7 @@ set_up_icon_windows (void)
gtk_window_set_icon_list (GTK_WINDOW (w), icons);
- g_list_foreach (icons, (GFunc) g_object_unref, NULL);
- g_list_free (icons);
+ g_list_free_full (icons, g_object_unref);
gtk_widget_show_all (w);