formatting and kiwis thumbnailer fix - not entirely fixed tho

SVN revision: 23728
This commit is contained in:
Carsten Haitzler 2006-07-06 06:16:21 +00:00
parent 9911cc4fc3
commit 12f620b919
2 changed files with 11 additions and 4 deletions

View File

@ -412,9 +412,9 @@ e_hints_window_init(E_Border *bd)
{
char *str = NULL;
if (
(ecore_x_netwm_startup_id_get(bd->client.win, &str) && (str)) ||
((bd->client.icccm.client_leader > 0) && ecore_x_netwm_startup_id_get(bd->client.icccm.client_leader, &str) && (str))
if ((ecore_x_netwm_startup_id_get(bd->client.win, &str) && (str)) ||
((bd->client.icccm.client_leader > 0) &&
ecore_x_netwm_startup_id_get(bd->client.icccm.client_leader, &str) && (str))
)
{
if (!strncmp(str, "E_START|", 8))

View File

@ -66,6 +66,9 @@ e_thumb_shutdown(void)
event_handlers = evas_list_remove_list(event_handlers, event_handlers);
}
evas_list_free(thumb_files);
if (pid != -1)
kill(pid, SIGTERM);
return 1;
}
@ -587,7 +590,11 @@ _e_thumb_cb_exe_exit(void *data, int type, void *event)
ev = event;
if (ev->pid != pid) return 1;
if (!thumb_files) return 1;
if (!thumb_files)
{
pid = -1;
return 1;
}
t = thumb_files->data;
thumb_files = evas_list_remove_list(thumb_files, thumb_files);