From 3abb2c6aa862e05cd44c9180fc3807680cd072c0 Mon Sep 17 00:00:00 2001 From: bhatman1441 Date: Tue, 5 Sep 2023 20:47:08 +0530 Subject: Remove unnecessary parameters from remmina_public_get_server_port_wrapper --- plugins/python_wrapper/python_wrapper_remmina.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/python_wrapper/python_wrapper_remmina.c b/plugins/python_wrapper/python_wrapper_remmina.c index c61ab09b5..8cdee41a9 100644 --- a/plugins/python_wrapper/python_wrapper_remmina.c +++ b/plugins/python_wrapper/python_wrapper_remmina.c @@ -1024,11 +1024,11 @@ static PyObject* remmina_public_get_server_port_wrapper(PyObject* self, PyObject { TRACE_CALL(__func__); - static char* kwlist[] = { "server", "defaultport", "host", "port", NULL }; + static char* kwlist[] = { "server", "defaultport", NULL }; gchar* server; gint defaultport; - if (PyArg_ParseTupleAndKeywords(args, kwargs, "slsl", kwlist, &server, &defaultport) && server) + if (PyArg_ParseTupleAndKeywords(args, kwargs, "sl", kwlist, &server, &defaultport) && server) { gchar* host; gint port; -- cgit v1.2.3