Fix leak in File.QueryInfo(Finish)

* gio/Gio.metadata: mark owned return values on QueryInfo methods.
  [Fixes #613821]
This commit is contained in:
Mike Kestner 2011-02-18 08:43:05 -06:00
parent ee866216b1
commit 7d696d2fc0

View file

@ -18,6 +18,8 @@
<attr path="/api/namespace/interface[@cname='GFile']" name="consume_only">1</attr> <attr path="/api/namespace/interface[@cname='GFile']" name="consume_only">1</attr>
<attr path="/api/namespace/interface[@cname='GFile']/method[@name='GetParseName']" name="name">GetParsedName</attr> <attr path="/api/namespace/interface[@cname='GFile']/method[@name='GetParseName']" name="name">GetParsedName</attr>
<attr path="/api/namespace/interface[@cname='GFile']/method[@name='GetUri']" name="hidden">1</attr> <attr path="/api/namespace/interface[@cname='GFile']/method[@name='GetUri']" name="hidden">1</attr>
<attr path="/api/namespace/interface[@cname='GFile']/*[@name='QueryInfo']/return-type" name="owned">true</attr>
<attr path="/api/namespace/interface[@cname='GFile']/*[@name='QueryInfoFinish']/return-type" name="owned">true</attr>
<attr path="/api/namespace/interface[@cname='GIcon']" name="consume_only">1</attr> <attr path="/api/namespace/interface[@cname='GIcon']" name="consume_only">1</attr>
<attr path="/api/namespace/interface[@cname='GMount']" name="consume_only">1</attr> <attr path="/api/namespace/interface[@cname='GMount']" name="consume_only">1</attr>
<attr path="/api/namespace/interface[@cname='GMount']/method[@name='CanUnmount']" name="name">GetCanUnmount</attr> <attr path="/api/namespace/interface[@cname='GMount']/method[@name='CanUnmount']" name="name">GetCanUnmount</attr>