windowcontrols: Cosmetics
authorMatthias Clasen <mclasen@redhat.com>
Sun, 18 Jun 2023 17:04:34 +0000 (13:04 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 19 Jun 2023 12:09:49 +0000 (08:09 -0400)
gtk/gtkwindowcontrols.c

index 52ba2f8b32df916be11e6ba88dd9b8246f44d11e..0f3e926899a77ac181a065c91051ab9639eb47e3 100644 (file)
@@ -346,9 +346,9 @@ update_window_buttons (GtkWindowControls *self)
           image = g_object_new (GTK_TYPE_IMAGE,
                                 "accessible-role", GTK_ACCESSIBLE_ROLE_PRESENTATION,
                                 "icon-name", "window-close-symbolic",
+                                "use-fallback", TRUE,
                                 NULL);
           gtk_widget_add_css_class (button, "close");
-          g_object_set (image, "use-fallback", TRUE, NULL);
           gtk_button_set_child (GTK_BUTTON (button), image);
           gtk_widget_set_can_focus (button, FALSE);
           gtk_actionable_set_action_name (GTK_ACTIONABLE (button),