summaryrefslogtreecommitdiff
path: root/examples/application8
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-02-07 03:23:02 -0500
committerMatthias Clasen <mclasen@redhat.com>2019-02-08 00:09:44 -0500
commit4ace873046fe7bab6f2678c9307f6e2a28f9ff90 (patch)
tree1bcc259348fae8034ec040f171249e13d72e9564 /examples/application8
parent72b6644223af1f6ea2bc270204563433e28cf854 (diff)
downloadgtk+-4ace873046fe7bab6f2678c9307f6e2a28f9ff90.tar.gz
Update ui files to new stack syntax
This conversion was done with the help of gtk4-builder-tool.
Diffstat (limited to 'examples/application8')
-rw-r--r--examples/application8/app-menu.ui2
-rw-r--r--examples/application8/gears-menu.ui2
-rw-r--r--examples/application8/prefs.ui9
-rw-r--r--examples/application8/window.ui2
4 files changed, 3 insertions, 12 deletions
diff --git a/examples/application8/app-menu.ui b/examples/application8/app-menu.ui
index e1e131cfca..13bf8fd342 100644
--- a/examples/application8/app-menu.ui
+++ b/examples/application8/app-menu.ui
@@ -1,6 +1,4 @@
-<?xml version="1.0"?>
<interface>
- <!-- interface-requires gtk+ 3.0 -->
<menu id="appmenu">
<section>
<item>
diff --git a/examples/application8/gears-menu.ui b/examples/application8/gears-menu.ui
index 7e5df31bf5..32cec0b28d 100644
--- a/examples/application8/gears-menu.ui
+++ b/examples/application8/gears-menu.ui
@@ -1,6 +1,4 @@
-<?xml version="1.0"?>
<interface>
- <!-- interface-requires gtk+ 3.0 -->
<menu id="menu">
<section>
<item>
diff --git a/examples/application8/prefs.ui b/examples/application8/prefs.ui
index e4796b92bb..00e917763f 100644
--- a/examples/application8/prefs.ui
+++ b/examples/application8/prefs.ui
@@ -1,10 +1,8 @@
-<?xml version="1.0" encoding="UTF-8"?>
<interface>
- <!-- interface-requires gtk+ 3.8 -->
<template class="ExampleAppPrefs" parent="GtkDialog">
<property name="title" translatable="yes">Preferences</property>
- <property name="resizable">False</property>
- <property name="modal">True</property>
+ <property name="resizable">0</property>
+ <property name="modal">1</property>
<child internal-child="vbox">
<object class="GtkBox" id="vbox">
<child>
@@ -25,8 +23,7 @@
</packing>
</child>
<child>
- <object class="GtkFontButton" id="font">
- </object>
+ <object class="GtkFontButton" id="font"/>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">0</property>
diff --git a/examples/application8/window.ui b/examples/application8/window.ui
index e19ec2eb34..278eafa8f5 100644
--- a/examples/application8/window.ui
+++ b/examples/application8/window.ui
@@ -1,6 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
<interface>
- <!-- interface-requires gtk+ 3.8 -->
<template class="ExampleAppWindow" parent="GtkApplicationWindow">
<property name="title" translatable="yes">Example Application</property>
<property name="default-width">600</property>