From: Friedrich Beckmann Date: Sun, 30 Aug 2020 20:24:18 +0000 (+0200) Subject: GFUNC_COMPAT_CAST also for dialog-common.c X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d40814d1a8f649329351ec9d133195b6c3bdfdf5;p=pspp GFUNC_COMPAT_CAST also for dialog-common.c I missed that one - Thanks! --- 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;