Project

General

Profile

Bug #2256 » 0069-gtk-Drop-unused-statusbar_timer.patch

main - Marko Lindqvist, 09/20/2026 11:58 AM

View differences:

client/gui-gtk-3.22/pages.c
static GtkWidget *statusbar, *statusbar_frame;
static GQueue *statusbar_queue;
static guint statusbar_timer = 0;
static GtkWidget *ruleset_combo;
......
gtk_container_add(GTK_CONTAINER(statusbar_frame), statusbar);
statusbar_queue = g_queue_new();
statusbar_timer = g_timeout_add(2000, update_network_statusbar, NULL);
g_timeout_add(2000, update_network_statusbar, NULL);
return statusbar_frame;
}
client/gui-gtk-4.0/pages.c
static GtkWidget *statusbar, *statusbar_frame;
static GQueue *statusbar_queue;
static guint statusbar_timer = 0;
static GtkWidget *ruleset_combo;
......
gtk_frame_set_child(GTK_FRAME(statusbar_frame), statusbar);
statusbar_queue = g_queue_new();
statusbar_timer = g_timeout_add(2000, update_network_statusbar, NULL);
g_timeout_add(2000, update_network_statusbar, NULL);
return statusbar_frame;
}
client/gui-gtk-5.0/pages.c
static GtkWidget *statusbar, *statusbar_frame;
static GQueue *statusbar_queue;
static guint statusbar_timer = 0;
static GtkWidget *ruleset_combo;
......
gtk_frame_set_child(GTK_FRAME(statusbar_frame), statusbar);
statusbar_queue = g_queue_new();
statusbar_timer = g_timeout_add(2000, update_network_statusbar, NULL);
g_timeout_add(2000, update_network_statusbar, NULL);
return statusbar_frame;
}
(1-1/2)