[webkit-gtk] Accessing the page load progress
Andrew Wood
a.j.w at me.com
Wed Sep 14 09:11:56 PDT 2011
Theres only one thread :S
On 09/09/11 09:37, Yehouda Harpaz wrote:
>> 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