Call gdk_flush() in set_busy().

Otherwise, the cursor won't show up. (GTK+ 2.22).
This commit is contained in:
Søren Sandmann Pedersen
2010-11-05 00:21:17 -04:00
parent 677fca55bf
commit 737409baf1

View File

@ -270,6 +270,8 @@ set_busy (GtkWidget *widget,
if (cursor)
gdk_cursor_unref (cursor);
gdk_flush();
}
static void
@ -1726,10 +1728,6 @@ main (int argc,
g_idle_add_full (G_PRIORITY_LOW, load_file, file_open_data, NULL);
}
#if 0
g_idle_add (gtk_main_quit, NULL);
#endif
gtk_main ();
return 0;