Bug #2256 » 0036-gtk-Drop-unused-statusbar_timer.patch
| 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;
|
||
|
}
|
||
- « Previous
- 1
- 2
- Next »