From 5ab7794266e6875b0209fd75a66d680dfe0622cf Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 1 Jan 2020 09:58:12 +0100 Subject: [PATCH] tui: fix signature for nmt_newt_form_keypress_callback() callback Fixes: 3bda3fb60c10 ('nmtui: initial import of nmtui') (cherry picked from commit 38323216f57997fede010f78435d284e85546a2b) --- clients/tui/newt/nmt-newt-form.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/tui/newt/nmt-newt-form.c b/clients/tui/newt/nmt-newt-form.c index 881b6f5ddc..320be13e6e 100644 --- a/clients/tui/newt/nmt-newt-form.c +++ b/clients/tui/newt/nmt-newt-form.c @@ -312,7 +312,7 @@ static GSList *form_stack; static GSource *keypress_source; static gboolean -nmt_newt_form_keypress_callback (int fd, +nmt_newt_form_keypress_callback (GIOChannel *channel, GIOCondition condition, gpointer user_data) {