[glade/wip/tintou/deprecated-stock] gtk+: Add deprecated flag to GtkButton and GtkImage stock properties



commit 0567ced2835e51823f6f08e558a279b78e55b227
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]