Patch to fix C99ism. Closes bug #308466. Patch from Behdad Esfahbod.

2005-06-22  Kjartan Maraas  <kmaraas@gnome.org>

	* libeog/eog-job-manager.c: (eog_job_manager_add): Patch to fix
	C99ism. Closes bug #308466. Patch from Behdad Esfahbod.
This commit is contained in:
Kjartan Maraas 2005-06-22 12:49:55 +00:00 committed by Kjartan Maraas
parent 5baf7a8127
commit 212a1fe88f
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-06-22 Kjartan Maraas <kmaraas@gnome.org>
* libeog/eog-job-manager.c: (eog_job_manager_add): Patch to fix
C99ism. Closes bug #308466. Patch from Behdad Esfahbod.
2005-06-18 Tor Lillqvist <tml@novell.com>
* shell/main.c (get_installation_subdir, eog_get_datadir,

View file

@ -127,9 +127,10 @@ eog_job_manager_add (EogJob *job)
g_queue_push_head (job_list, g_object_ref (job));
if (n_threads < MAX_THREADS) {
n_threads++;
guint thread_id;
n_threads++;
for (thread_id = 0; thread_id < MAX_THREADS; thread_id++) {
if (threads[thread_id].thread == NULL) break;
}