Refactoring

This commit is contained in:
o9000
2017-08-31 18:55:22 +02:00
parent 1e45abe988
commit 0c754affd9
8 changed files with 274 additions and 246 deletions

View File

@@ -988,3 +988,17 @@ void execp_update_post_read(Execp *execp)
schedule_panel_redraw();
}
}
void handle_execp_events()
{
for (GList *l = panel_config.execp_list; l; l = l->next) {
Execp *execp = (Execp *)l->data;
if (read_execp(execp)) {
GList *l_instance;
for (l_instance = execp->backend->instances; l_instance; l_instance = l_instance->next) {
Execp *instance = (Execp *)l_instance->data;
execp_update_post_read(instance);
}
}
}
}

View File

@@ -148,4 +148,6 @@ void execp_update_post_read(Execp *execp);
void execp_default_font_changed();
void handle_execp_events();
#endif // EXECPLUGIN_H