Hi Adrian, On Tue, 2012-07-03 at 21:51 +0000, Adrian Stern wrote: > So i have file called browser.vala which i compile and run. Inside of > it there is a class called webPlayer which contains a Webkit webView. > The main loop periodically destroys and recreates this class. > On every destroy() i get these two messages: > > (browser:23160): Gtk-CRITICAL **: IA__gtk_widget_hide: assertion > `GTK_IS_WIDGET (widget)' failed > (browser:23160): Gtk-CRITICAL **: IA__gtk_widget_destroy: assertion > `GTK_IS_WIDGET (widget)' failed
I see a critical warning as well here with the Flash plugin enabled: (npviewer.bin:11153): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed Disabling the flash plugin (i.e., using WebKit HTML5 video) fixes the warning. The warning doesn't show up either when using a widget such as GtkTextView instead of WebView. This sounds like a bug in WebKit or possibly Flash, not in Vala. In the future, please use a suitable subject for your mails. Regards, Jürg _______________________________________________ vala-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/vala-list
