X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-acr.c;h=82f9aa2c16231969454ec16583e0d8671d69830a;hb=4cee6fc1f72440698ca8f3f89a71d29e7ee46a0d;hp=a876413fd582e5b7dd137b742c4314e811c3b7be;hpb=2d45d41b2bae93062d76d0dc48a025b348631801;p=pspp diff --git a/src/ui/gui/psppire-acr.c b/src/ui/gui/psppire-acr.c index a876413fd5..82f9aa2c16 100644 --- a/src/ui/gui/psppire-acr.c +++ b/src/ui/gui/psppire-acr.c @@ -183,7 +183,7 @@ on_change_button_clicked (PsppireAcr *acr) g_value_unset (&value); } - g_list_foreach (l, (GFunc) gtk_tree_path_free, NULL); + g_list_foreach (l, (GFunc) (void (*)(void)) gtk_tree_path_free, NULL); g_list_free (l); if (acr->update) acr->update (acr->update_data); @@ -209,7 +209,7 @@ on_remove_button_clicked (PsppireAcr *acr) gtk_list_store_remove (acr->list_store, &iter); - g_list_foreach (l, (GFunc) gtk_tree_path_free, NULL); + g_list_foreach (l, (GFunc) (void (*)(void)) gtk_tree_path_free, NULL); g_list_free (l); } @@ -225,7 +225,7 @@ row_is_selected (const PsppireAcr *acr) result = (l != NULL); - g_list_foreach (l, (GFunc) gtk_tree_path_free, NULL); + g_list_foreach (l, (GFunc) (void (*)(void)) gtk_tree_path_free, NULL); g_list_free (l); return result;