mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
output: Don't add @generated notice to subtemplates
There's already a notice at the top of the file, it doesn't need to be in subtemplates. Fixes #158.
This commit is contained in:
parent
988e69ab25
commit
c502dee36b
4 changed files with 1 additions and 21 deletions
|
@ -375,7 +375,7 @@ class XmlOutput(OutputFormat):
|
||||||
xml.end_tag()
|
xml.end_tag()
|
||||||
|
|
||||||
elif isinstance(extension, ExtListItemFactory):
|
elif isinstance(extension, ExtListItemFactory):
|
||||||
child_xml = XmlEmitter()
|
child_xml = XmlEmitter(generated_notice=False)
|
||||||
child_xml.start_tag("interface")
|
child_xml.start_tag("interface")
|
||||||
child_xml.start_tag("template", **{"class": extension.gir_class})
|
child_xml.start_tag("template", **{"class": extension.gir_class})
|
||||||
self._emit_object_or_template(extension, child_xml)
|
self._emit_object_or_template(extension, child_xml)
|
||||||
|
|
|
@ -10,11 +10,6 @@ corresponding .blp file and regenerate this file with blueprint-compiler.
|
||||||
<property name="row-factory">
|
<property name="row-factory">
|
||||||
<object class="GtkBuilderListItemFactory">
|
<object class="GtkBuilderListItemFactory">
|
||||||
<property name="bytes"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
|
<property name="bytes"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!--
|
|
||||||
DO NOT EDIT!
|
|
||||||
This file was @generated by blueprint-compiler. Instead, edit the
|
|
||||||
corresponding .blp file and regenerate this file with blueprint-compiler.
|
|
||||||
-->
|
|
||||||
<interface>
|
<interface>
|
||||||
<template class="GtkColumnViewRow"></template>
|
<template class="GtkColumnViewRow"></template>
|
||||||
</interface>]]></property>
|
</interface>]]></property>
|
||||||
|
@ -25,11 +20,6 @@ corresponding .blp file and regenerate this file with blueprint-compiler.
|
||||||
<property name="factory">
|
<property name="factory">
|
||||||
<object class="GtkBuilderListItemFactory">
|
<object class="GtkBuilderListItemFactory">
|
||||||
<property name="bytes"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
|
<property name="bytes"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!--
|
|
||||||
DO NOT EDIT!
|
|
||||||
This file was @generated by blueprint-compiler. Instead, edit the
|
|
||||||
corresponding .blp file and regenerate this file with blueprint-compiler.
|
|
||||||
-->
|
|
||||||
<interface>
|
<interface>
|
||||||
<template class="GtkColumnViewCell">
|
<template class="GtkColumnViewCell">
|
||||||
<property name="child">
|
<property name="child">
|
||||||
|
|
|
@ -10,11 +10,6 @@ corresponding .blp file and regenerate this file with blueprint-compiler.
|
||||||
<property name="factory">
|
<property name="factory">
|
||||||
<object class="GtkBuilderListItemFactory" id="list_item_factory">
|
<object class="GtkBuilderListItemFactory" id="list_item_factory">
|
||||||
<property name="bytes"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
|
<property name="bytes"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!--
|
|
||||||
DO NOT EDIT!
|
|
||||||
This file was @generated by blueprint-compiler. Instead, edit the
|
|
||||||
corresponding .blp file and regenerate this file with blueprint-compiler.
|
|
||||||
-->
|
|
||||||
<interface>
|
<interface>
|
||||||
<template class="GtkListItem">
|
<template class="GtkListItem">
|
||||||
<property name="child">
|
<property name="child">
|
||||||
|
|
|
@ -8,11 +8,6 @@ corresponding .blp file and regenerate this file with blueprint-compiler.
|
||||||
<requires lib="gtk" version="4.0"/>
|
<requires lib="gtk" version="4.0"/>
|
||||||
<object class="GtkBuilderListItemFactory">
|
<object class="GtkBuilderListItemFactory">
|
||||||
<property name="bytes"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
|
<property name="bytes"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!--
|
|
||||||
DO NOT EDIT!
|
|
||||||
This file was @generated by blueprint-compiler. Instead, edit the
|
|
||||||
corresponding .blp file and regenerate this file with blueprint-compiler.
|
|
||||||
-->
|
|
||||||
<interface>
|
<interface>
|
||||||
<template class="GtkListItem">
|
<template class="GtkListItem">
|
||||||
<property name="child">
|
<property name="child">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue