From d40814d1a8f649329351ec9d133195b6c3bdfdf5 Mon Sep 17 00:00:00 2001 From: Friedrich Beckmann Date: Sun, 30 Aug 2020 22:24:18 +0200 Subject: [PATCH] GFUNC_COMPAT_CAST also for dialog-common.c I missed that one - Thanks! --- src/ui/gui/dialog-common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/gui/dialog-common.c b/src/ui/gui/dialog-common.c index 1b29c4a3be..cdc0758cb3 100644 --- a/src/ui/gui/dialog-common.c +++ b/src/ui/gui/dialog-common.c @@ -112,7 +112,7 @@ homogeneous_types (GtkWidget *source, GtkWidget *dest) have_type = true; } - g_list_foreach (list, (GFunc) (void (*)(void)) gtk_tree_path_free, NULL); + g_list_foreach (list, GFUNC_COMPAT_CAST (gtk_tree_path_free), NULL); g_list_free (list); if (retval == FALSE) @@ -179,7 +179,7 @@ numeric_only (GtkWidget *source, GtkWidget *dest) } } - g_list_foreach (list, (GFunc) (void (*)(void)) gtk_tree_path_free, NULL); + g_list_foreach (list, GFUNC_COMPAT_CAST (gtk_tree_path_free), NULL); g_list_free (list); return retval; -- 2.30.2