Re: Webkit in Gtkmm



On Sat, 25 Feb 2012 20:18:52 +0100
> Hello,
> 
> I'm fairly new to programming with c++ and gtkmm.
> I'm trying to write an application to display status.net statuses. The
> statuses are being displayed in a derived Gtkmm::Table. Every row is
> one status. Every status is a webkit GtkWidget, wrapped with
> Glib::wrap. This works quite well.
> Now i'm trying to create a thread, to fetch the statuses periodically.
> In the thread the fetching is done and new statuses are being put into
> a private std::list of the derived Gtkmm::Table. Then an update signal
> is emitted, which triggers a function to redraw the table (put the new
> statuses in webkit GtkWidget, wrap them and attach them to the table).
> But this doesn't work with webkit. As soon as i try to create a
> GtkWidget with webkit_web_view_new() the program crashes. I've no idea
> why, can anybody help? Or is there a better solution to do this, not
> using a thread?
> 
> thanks,
> birger

Try reading this:
http://bugzilla-attachments.gnome.org/attachment.cgi?id=201915
which has been lost in the mists of unawesomeness.

Chris


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]