Update README

It seems that you have tu use newer versions of the libraries
This commit is contained in:
Moritz Lipp 2010-01-21 10:57:49 +01:00
parent 488b7f1c33
commit acb11bda4b
2 changed files with 6 additions and 3 deletions

5
README
View file

@ -4,9 +4,10 @@ zathura is a pdf viewer based on the poppler pdf rendering library
Requirements Requirements
------------ ------------
poppler-glib (0.10) poppler-glib (0.12.3)
cairo (1.8.8) cairo (1.8.8)
gtk2 (2.16) gtk2 (2.18.6)
glib2 (2.22.4)
Configuration Configuration
------------- -------------

View file

@ -938,7 +938,9 @@ sc_search(Argument* argument)
pthread_mutex_lock(&(Zathura.Lock.search_lock)); pthread_mutex_lock(&(Zathura.Lock.search_lock));
if(Zathura.Thread.search_thread_running) if(Zathura.Thread.search_thread_running)
{ {
pthread_cancel(Zathura.Thread.search_thread); if(pthread_cancel(Zathura.Thread.search_thread) == 0)
pthread_join(Zathura.Thread.search_thread, NULL);
Zathura.Thread.search_thread_running = FALSE; Zathura.Thread.search_thread_running = FALSE;
} }