Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Feature #892512 ยป 0031-gtk3x-Use-g_main_context_iteration-API-instead-of-gt.patch

Marko Lindqvist, 2020-10-24 06:04 AM

View differences:

client/gui-gtk-4.0/gui_main.c
main_menubar = setup_menus(toplevel);
/* Ensure the menus are really created before performing any operations
* on them. */
while (gtk_events_pending()) {
gtk_main_iteration();
while (g_main_context_pending(NULL)) {
g_main_context_iteration(NULL, FALSE);
}
gtk_grid_attach_next_to(GTK_GRID(top_vbox), main_menubar, NULL, GTK_POS_TOP, 1, 1);
menus_init();
client/gui-gtk-4.0/pages.c
gtk_notebook_set_current_page(GTK_NOTEBOOK(toplevel_tabs), new_page);
/* Update the GUI. */
while (gtk_events_pending()) {
gtk_main_iteration();
while (g_main_context_pending(NULL)) {
g_main_context_iteration(NULL, FALSE);
}
switch (new_page) {
    (1-1/1)