mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-07-04 17:30:47 +00:00
general: Stop using gtk_main_iteration()
It's going away with GTK4. Use the recomended replacement.
This commit is contained in:
parent
67baf819d2
commit
37740f0d72
|
@ -2030,7 +2030,7 @@ nautilus_self_check_directory (void)
|
|||
|
||||
for (guint i = 0; g_hash_table_size (directories) != 0 && i < 100000; i++)
|
||||
{
|
||||
gtk_main_iteration ();
|
||||
g_main_context_iteration (NULL, TRUE);
|
||||
}
|
||||
|
||||
EEL_CHECK_INTEGER_RESULT (g_hash_table_size (directories), 0);
|
||||
|
@ -2047,7 +2047,7 @@ nautilus_self_check_directory (void)
|
|||
|
||||
for (guint i = 0; !got_files_flag && i < 100000; i++)
|
||||
{
|
||||
gtk_main_iteration ();
|
||||
g_main_context_iteration (NULL, TRUE);
|
||||
}
|
||||
|
||||
EEL_CHECK_BOOLEAN_RESULT (got_files_flag, TRUE);
|
||||
|
|
|
@ -136,7 +136,7 @@ main (int argc,
|
|||
|
||||
while (!ready)
|
||||
{
|
||||
gtk_main_iteration ();
|
||||
g_main_context_iteration (NULL, TRUE);
|
||||
}
|
||||
|
||||
if (strcmp (field, "default_action_type") == 0)
|
||||
|
|
|
@ -128,7 +128,7 @@ main (int argc,
|
|||
|
||||
while (!ready)
|
||||
{
|
||||
gtk_main_iteration ();
|
||||
g_main_context_iteration (NULL, TRUE);
|
||||
}
|
||||
|
||||
default_application = nautilus_mime_get_default_application_for_file (file);
|
||||
|
|
Loading…
Reference in New Issue
Block a user