mirror of
https://gitlab.gnome.org/GNOME/eog
synced 2024-10-18 14:04:27 +00:00
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:
parent
5baf7a8127
commit
212a1fe88f
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue