Project

General

Profile

Bug #2225 » 0041-gtk-Drop-unused-network_-login-host-port-_label.patch

S3_3 - Marko Lindqvist, 09/12/2026 02:33 PM

View differences:

client/gui-gtk-3.22/pages.c
/****************************************************************************
NETWORK PAGE
****************************************************************************/
static GtkWidget *network_login_label, *network_login;
static GtkWidget *network_host_label, *network_host;
static GtkWidget *network_port_label, *network_port;
static GtkWidget *network_login;
static GtkWidget *network_host;
static GtkWidget *network_port;
static GtkWidget *network_password_label, *network_password;
static GtkWidget *network_confirm_password_label, *network_confirm_password;
......
"xalign", 0.0,
"yalign", 0.5,
NULL);
network_host_label = label;
gtk_grid_attach(GTK_GRID(table), label, 0, 0, 1, 1);
network_port = gtk_entry_new();
......
"xalign", 0.0,
"yalign", 0.5,
NULL);
network_port_label = label;
gtk_grid_attach(GTK_GRID(table), label, 0, 1, 1, 1);
network_login = gtk_entry_new();
......
"yalign", 0.5,
NULL);
gtk_widget_set_margin_top(label, 10);
network_login_label = label;
gtk_grid_attach(GTK_GRID(table), label, 0, 3, 1, 1);
network_password = gtk_entry_new();
client/gui-gtk-4.0/pages.c
/****************************************************************************
NETWORK PAGE
****************************************************************************/
static GtkWidget *network_login_label, *network_login;
static GtkWidget *network_host_label, *network_host;
static GtkWidget *network_port_label, *network_port;
static GtkWidget *network_login;
static GtkWidget *network_host;
static GtkWidget *network_port;
static GtkWidget *network_password_label, *network_password;
static GtkWidget *network_confirm_password_label, *network_confirm_password;
......
"xalign", 0.0,
"yalign", 0.5,
NULL);
network_host_label = label;
gtk_grid_attach(GTK_GRID(table), label, 0, 0, 1, 1);
network_port = gtk_entry_new();
......
"xalign", 0.0,
"yalign", 0.5,
NULL);
network_port_label = label;
gtk_grid_attach(GTK_GRID(table), label, 0, 1, 1, 1);
network_login = gtk_entry_new();
......
"yalign", 0.5,
NULL);
gtk_widget_set_margin_top(label, 10);
network_login_label = label;
gtk_grid_attach(GTK_GRID(table), label, 0, 3, 1, 1);
network_password = gtk_entry_new();
(2-2/3)