[nautilus/wip/antoniof/gtk4-preparation-step-properties-cleanup: 63/66] properties-window: Stop using deprecated property




commit 0375f1bbe609d869fbc3e38cd696d3a28f22926b
Author: António Fernandes <antoniof gnome org>
Date:   Sat Aug 14 09:35:08 2021 +0100

    properties-window: Stop using deprecated property
    
    GtkImage:stock and GTK_STOCK_MISSING_IMAGE are deprecated.

 src/resources/ui/nautilus-properties-window.ui | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/resources/ui/nautilus-properties-window.ui b/src/resources/ui/nautilus-properties-window.ui
index 81dcabc1a..ecda44e69 100644
--- a/src/resources/ui/nautilus-properties-window.ui
+++ b/src/resources/ui/nautilus-properties-window.ui
@@ -45,7 +45,7 @@
                       <object class="GtkImage" id="icon_image">
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
-                        <property name="stock">gtk-missing-image</property>
+                        <property name="icon-name">image-missing</property>
                       </object>
                       <packing>
                         <property name="name">icon_image</property>
@@ -60,7 +60,7 @@
                           <object class="GtkImage" id="icon_button_image">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
-                            <property name="stock">gtk-missing-image</property>
+                            <property name="icon-name">image-missing</property>
                           </object>
                         </child>
                       </object>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]