Hi Adrian,
On Tue, 2012-07-03 at 21:51 +, 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 g
> i'm not sure, but shouldn't you give the player pointer null? i mean:
> public class MainWindow : Window {
>WebPlayer player = null;
> }
I believe if no initial value is explicitly given
the compiler will give it a default value of null.
> Also, i think using a static main in a class isn't
Il 04/07/2012 08:14, Nor Jaidi Tuah ha scritto:
On Wed, 2012-07-04 at 05:32 +, Adrian Stern wrote:
Problem is when i don't do it i end up with a new window every few seconds.
Sorry, my mistake. A top level window attaches itself
somewhere and requires explicit destroy. So your code
is oka