PyFalkon: addBookmark - make C++ own parameters

Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
remotes/origin/release/23.04
Juraj Oravec 3 years ago
parent 0e6478c3ff
commit 34deed1b71
No known key found for this signature in database
GPG Key ID: 13660A3F1D9F093B
  1. 11
      src/plugins/PyFalkon/typesystem_pyfalkon.xml

@ -84,7 +84,16 @@
<object-type name="BookmarkItem">
<enum-type name="Type"/>
</object-type>
<object-type name="Bookmarks"/>
<object-type name="Bookmarks">
<modify-function signature="addBookmark(BookmarkItem*, BookmarkItem*)">
<modify-argument index="1">
<define-ownership class="target" owner="c++"/>
</modify-argument>
<modify-argument index="2">
<define-ownership class="target" owner="c++"/>
</modify-argument>
</modify-function>
</object-type>
<object-type name="BookmarksModel">
<enum-type name="Roles"/>
</object-type>

Loading…
Cancel
Save