X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-selector.c;h=678c2a749f240af62e12219cb58b4006ae15af8f;hb=f28264bfc3372eb21a639bcb5364600c0e54f459;hp=a551573fe9b215d2cf1b30c1361d661361f7ef75;hpb=d9a8216021edbb6b94dce664a5cda991f8d34ea0;p=pspp diff --git a/src/ui/gui/psppire-selector.c b/src/ui/gui/psppire-selector.c index a551573fe9..678c2a749f 100644 --- a/src/ui/gui/psppire-selector.c +++ b/src/ui/gui/psppire-selector.c @@ -62,6 +62,7 @@ #include "psppire-dict.h" #include "psppire-select-dest.h" #include "psppire-means-layer.h" +#include "helper.h" #include @@ -575,7 +576,7 @@ de_select_tree_model (GtkTreeSelection *selection, GtkTreeModel *model) } /* Delete list of RowRefs and its contents */ - g_list_foreach (selected_rows, (GFunc) (void (*)(void)) gtk_tree_row_reference_free, NULL); + g_list_foreach (selected_rows, GFUNC_COMPAT_CAST (gtk_tree_row_reference_free), NULL); g_list_free (selected_rows); } @@ -662,7 +663,7 @@ select_selection (PsppireSelector *selector) ); } - g_list_foreach (selected_rows, (GFunc) (void (*)(void)) gtk_tree_path_free, NULL); + g_list_foreach (selected_rows, GFUNC_COMPAT_CAST (gtk_tree_path_free), NULL); g_list_free (selected_rows); refilter (selector);