From: simon Date: Mon, 14 Feb 2005 07:44:50 +0000 (+0000) Subject: Oh, and (there's always one) remove the unnecessary extra parameter X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/4838c7c65b8d42abce7cd95c8b7c5037072efb6b Oh, and (there's always one) remove the unnecessary extra parameter from unix_setup_config_box(). git-svn-id: svn://svn.tartarus.org/sgt/putty@5293 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/unix/gtkdlg.c b/unix/gtkdlg.c index 7c6de2e0..2a293804 100644 --- a/unix/gtkdlg.c +++ b/unix/gtkdlg.c @@ -1976,7 +1976,7 @@ int do_config_box(const char *title, Config *cfg, int midsession, ctrlbox = ctrl_new_box(); setup_config_box(ctrlbox, &sl, midsession, cfg->protocol, protcfginfo); - unix_setup_config_box(ctrlbox, midsession, window); + unix_setup_config_box(ctrlbox, midsession); gtk_setup_config_box(ctrlbox, midsession, window); gtk_window_set_title(GTK_WINDOW(window), title); diff --git a/unix/unix.h b/unix/unix.h index 4fb5662f..cfc48f32 100644 --- a/unix/unix.h +++ b/unix/unix.h @@ -96,7 +96,7 @@ void uxsel_input_remove(int id); /* uxcfg.c */ struct controlbox; -void unix_setup_config_box(struct controlbox *b, int midsession, void *window); +void unix_setup_config_box(struct controlbox *b, int midsession); /* gtkcfg.c */ void gtk_setup_config_box(struct controlbox *b, int midsession, void *window); diff --git a/unix/uxcfg.c b/unix/uxcfg.c index 6629bd94..067fc7ed 100644 --- a/unix/uxcfg.c +++ b/unix/uxcfg.c @@ -10,7 +10,7 @@ #include "dialog.h" #include "storage.h" -void unix_setup_config_box(struct controlbox *b, int midsession, void *win) +void unix_setup_config_box(struct controlbox *b, int midsession) { struct controlset *s; union control *c;