]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
x11: make WindowAttributes.screen unowned
authorLuca Bruno <lucabru@src.gnome.org>
Fri, 27 Feb 2015 17:10:17 +0000 (18:10 +0100)
committerLuca Bruno <lucabru@src.gnome.org>
Fri, 27 Feb 2015 17:10:55 +0000 (18:10 +0100)
Fixes bug 745133

vapi/x11.vapi

index aaa3fea7e9b0abcab7ca7d72fa4decda16f47669..b0448033f20ae720eed1158629dd5dc64e50f570 100644 (file)
@@ -598,7 +598,7 @@ namespace X {
                public long your_event_mask;    /* my event mask */
                public long do_not_propagate_mask; /* set of events that should not propagate */
                public bool override_redirect;  /* boolean value for override-redirect */
-               public Screen screen;           /* back pointer to correct screen */
+               public unowned Screen screen;   /* back pointer to correct screen */
        }
 
        [CCode (cname = "ParentRelative")]