* Called by the network engine when a stylesheet has new data. */
| 3231 | * Called by the network engine when a stylesheet has new data. |
| 3232 | */ |
| 3233 | static void Html_css_load_callback(int Op, CacheClient_t *Client) |
| 3234 | { |
| 3235 | _MSG("Html_css_load_callback: Op=%d\n", Op); |
| 3236 | if (Op) { /* EOF */ |
| 3237 | BrowserWindow *bw = ((DilloWeb *)Client->Web)->bw; |
| 3238 | /* Repush when we've got them all */ |
| 3239 | if (--bw->NumPendingStyleSheets == 0) |
| 3240 | a_UIcmd_repush(bw); |
| 3241 | } |
| 3242 | } |
| 3243 | |
| 3244 | /** |
| 3245 | * Tell cache to retrieve a stylesheet |
nothing calls this directly
no test coverage detected