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




commit 829fbb01882845657a4d7329a3f2d11a159f0aa3
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 1dc686727..250464a51 100644
--- a/src/resources/ui/nautilus-properties-window.ui
+++ b/src/resources/ui/nautilus-properties-window.ui
@@ -42,7 +42,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>
@@ -57,7 +57,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]