| 1959 | } |
| 1960 | |
| 1961 | static void |
| 1962 | store_prefs(void) |
| 1963 | { |
| 1964 | if (prefs_timeout_id != 0) |
| 1965 | { |
| 1966 | GMainContext *mc; |
| 1967 | GSource *source; |
| 1968 | |
| 1969 | mc = g_main_context_default(); |
| 1970 | source = g_main_context_find_source_by_id(mc, prefs_timeout_id); |
| 1971 | if (source != NULL) |
| 1972 | g_source_destroy(source); |
| 1973 | } |
| 1974 | prefs_timeout_id = g_timeout_add(100, (GSourceFunc)delayed_store_prefs, NULL); |
| 1975 | } |
| 1976 | |
| 1977 | void |
| 1978 | ghb_presets_load(signal_user_data_t *ud) |
no outgoing calls
no test coverage detected