[glade/wip/tintou/deprecated-stock: 2/2] gtk+: Add deprecated flag to GtkButton and GtkImage stock properties
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade/wip/tintou/deprecated-stock: 2/2] gtk+: Add deprecated flag to GtkButton and GtkImage stock properties
- Date: Sat, 30 Mar 2019 10:53:35 +0000 (UTC)
commit 9b22a0251053b5869d6c2505aa9e9f34f16e0183
Author: Corentin Noël <corentin elementary io>
Date: Mon Mar 25 08:50:43 2019 +0100
gtk+: Add deprecated flag to GtkButton and GtkImage stock properties
plugins/gtk+/gtk+.xml | 6 +++---
1 file 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"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]