From 6c9aeac36ff3d5247e4769d677855229caa0b23b Mon Sep 17 00:00:00 2001 From: deepend Date: Wed, 25 Feb 2026 00:55:37 -0700 Subject: [PATCH] =?UTF-8?q?Cleaned=20up=20unneeded=20inline=20comments=20i?= =?UTF-8?q?n=20swtype=20by=20removing=20index/reserved=20annotations=20tha?= =?UTF-8?q?t=20didn=E2=80=99t=20add=20value,=20while=20keeping=20the=20dat?= =?UTF-8?q?a=20unchanged.=20Removed=20a=20stale=20commented-out=20ST=5FHEA?= =?UTF-8?q?DER=20line=20from=20tabs=5Fsettings=20so=20the=20settings=20tab?= =?UTF-8?q?le=20only=20contains=20active=20entries.=20Removed=20a=20dead?= =?UTF-8?q?=20commented-out=20call=20from=20setup=5Fapply=5Ftrans=20to=20r?= =?UTF-8?q?educe=20noise=20in=20the=20function=20body.=20Removed=20redunda?= =?UTF-8?q?nt=20trailing=20declaration=20comments=20from=20proxy=5Fuser=20?= =?UTF-8?q?and=20proxy=5Fpass=20since=20the=20types=20are=20already=20expl?= =?UTF-8?q?icit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/fe-gtk/setup.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/fe-gtk/setup.c b/src/fe-gtk/setup.c index 89f4f063..36fc0822 100644 --- a/src/fe-gtk/setup.c +++ b/src/fe-gtk/setup.c @@ -314,15 +314,14 @@ static const char *const noticeposmenu[] = static const char *const swtype[] = { - N_("Tabs"), /* 0 tabs */ - "", /* 1 reserved */ - N_("Tree"), /* 2 tree */ + N_("Tabs"), + "", + N_("Tree"), NULL }; static const setting tabs_settings[] = { - /*{ST_HEADER, N_("Channel Switcher"),0,0,0},*/ {ST_RADIO, N_("Switcher type:"),P_OFFINTNL(hex_gui_tab_layout), 0, swtype, 0}, {ST_TOGGLE, N_("Open an extra tab for server messages"), P_OFFINTNL(hex_gui_tab_server), 0, 0, 0}, {ST_TOGGLE, N_("Open a new tab when you receive a private message"), P_OFFINTNL(hex_gui_autoopen_dialog), 0, 0, 0}, @@ -954,7 +953,6 @@ setup_apply_trans (int *tag) gtk_window_set_opacity (GTK_WINDOW (current_sess->gui->window), (prefs.hex_gui_transparency / 255.)); - /* mg_update_xtext (current_sess->gui->xtext); */ *tag = 0; return 0; } @@ -1000,8 +998,8 @@ setup_create_hscale (GtkWidget *table, int row, const setting *set) } -static GtkWidget *proxy_user; /* username GtkEntry */ -static GtkWidget *proxy_pass; /* password GtkEntry */ +static GtkWidget *proxy_user; +static GtkWidget *proxy_pass; static void setup_menu_cb (GtkWidget *cbox, const setting *set)