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




commit d236edaeb3437312b6301da86376ed2bafddc0d3
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]