[webkit-gtk] Accessing the page load progress

Yehouda Harpaz yeh at lispworks.com
Fri Sep 9 01:37:17 PDT 2011


>  So I now have a callback function registered on that signal which 
>  contains the single line:
>  
>  gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(progressbar),webkit_web_view_get_progress(WEBKIT_WEB_VIEW 
>  (gtkwebview)));
>  
>  But I get periodic crashes when it runs (seg faults).  If I disable the 
>  signal handler I dont get them.

If it is a multithreaded program it may be because you need to lock
the GDK lock. I believe the signal is called without a GDK lock.



More information about the webkit-gtk mailing list