Problem is when i don't do it i end up with a new window every few seconds.

Basically this won't destroy the old window but leave me with two open windows.
Maybe window 1 stays open until the GC cleans it up? How long can that take?

var window = new Gtk.Window ();
window.set_size_request (800, 600);
window.show_all ();

window new Gtk.Window ();
window.set_size_request (800, 600);
window.show_all ();

Freundliche Grüsse / Best Regards / Meilleures salutations
Adrian Stern

______________

Adrian Stern
Software Developer

screenFOOD AG
Digital Signage Software and Multimedia Solutions
Cysatstrasse 6
CH-6004 Lucerne
SWITZERLAND

Fon +41 (0)41 444 21 41
Fax +41 (0)41 444 21 43
http://www.screenfood.com

» NEU! screenFOOD® CS Server 4.1 mit verlinkten Animation Factories, mehr 
animierten Bildübergängen, Längenerkennung von Videos und Animation Factories 
und vielem mehr unter: http://www.screenfood.com

» NEW! screenFOOD® CS Server 4.1 with linked Animation Factories, more animated 
image transitions, video and Animation Factory duration recognition and much 
more at: http://www.screenfood.com


-----Ursprüngliche Nachricht-----
Von: Nor Jaidi Tuah [mailto:[email protected]]
Gesendet: Mittwoch, 4. Juli 2012 01:41
An: Adrian Stern
Cc: [email protected]
Betreff: Re: [Vala] (no subject)

You don't have to do this:
>     if (player != null) player.destroy ();

I think doing that will just confuse
Vala's "memory management".

hand
Nor Jaidi Tuah


Diese E-Mail und ihre Anhänge enthalten vertrauliche und/oder rechtlich 
geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese 
E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und 
vernichten Sie diese Mail inklusive Anhänge. Das unerlaubte Kopieren sowie die 
unbefugte Weitergabe der Inhalte dieser Mail ist nicht gestattet.
This e-mail and any attachments may contain confidential and/or privileged 
information. If you are not the intended recipient (or have received this 
e-mail in error) please notify the sender immediately and destroy this e-mail 
including the attachments. Any unauthorized copying, disclosure or distribution 
of the material in this e-mail is strictly forbidden.
_______________________________________________
vala-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to