summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin Noël <corentin@elementary.io>2019-03-25 08:50:43 +0100
committerCorentin Noël <corentin@elementary.io>2019-03-30 10:53:21 +0000
commit9b22a0251053b5869d6c2505aa9e9f34f16e0183 (patch)
treee787c503efd305f43275602ca3988357ff4317d4
parentc19d9b7f8d86e988f8a7ff4462279b227e535ab0 (diff)
downloadglade-9b22a0251053b5869d6c2505aa9e9f34f16e0183.tar.gz
gtk+: Add deprecated flag to GtkButton and GtkImage stock properties
-rw-r--r--plugins/gtk+/gtk+.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/gtk+/gtk+.xml b/plugins/gtk+/gtk+.xml
index a90b5182..7515ec93 100644
--- a/plugins/gtk+/gtk+.xml
+++ b/plugins/gtk+/gtk+.xml
@@ -1738,7 +1738,7 @@
<property id="always-show-image" since="3.6" custom-layout="True"/>
<property id="receives-default" save-always="True"/>
<property id="image" parentless-widget="True" create-type="GtkImage" custom-layout="True"/>
- <property id="use-stock" visible="False" custom-layout="True"/>
+ <property id="use-stock" visible="False" custom-layout="True" deprecated="True"/>
<property id="label" default="button" translatable="True" custom-layout="True" save="False"
multiline="True"/>
<property id="use-underline" custom-layout="True"/>
@@ -1747,7 +1747,7 @@
<property id="relief" custom-layout="True"/>
<property id="focus-on-click" custom-layout="True"/>
- <property id="stock" name="Stock Button" stock="True" save="False" custom-layout="True">
+ <property id="stock" name="Stock Button" stock="True" save="False" custom-layout="True" deprecated="True">
<parameter-spec>
<type>GParamString</type>
</parameter-spec>
@@ -2271,7 +2271,7 @@
<type>GParamInt</type>
</parameter-spec>
</property>
- <property id="stock" stock-icon="True" custom-layout="True" default="gtk-missing-image"/>
+ <property id="stock" stock-icon="True" custom-layout="True" default="gtk-missing-image" deprecated="True"/>
<property id="icon-name" name="Icon Name" themed-icon="True" custom-layout="True" />
<property id="use-fallback" custom-layout="True"/>
<property id="pixbuf" name="File Name" custom-layout="True"/>