Make template parent optional

Not recommended, since you lose some type checking.
This commit is contained in:
James Westman 2022-01-16 21:06:40 -06:00
parent 1897478480
commit 6b78338d1a
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
5 changed files with 24 additions and 8 deletions

View file

@ -0,0 +1,3 @@
using Gtk 4.0;
template GtkListItem {}

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<template class="GtkListItem"></template>
</interface>