[gnome-latex] SearchAndReplace: use tepl_utils_create_close_button()



commit 14822d0f2f89855bc68e91df16a2e9e4ce698a50
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Apr 25 16:25:11 2020 +0200

    SearchAndReplace: use tepl_utils_create_close_button()
    
    To have a consistent close button style across the application.

 src/search.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/search.vala b/src/search.vala
index 7a45de2..be94b1c 100644
--- a/src/search.vala
+++ b/src/search.vala
@@ -76,7 +76,7 @@ public class SearchAndReplace : GLib.Object
         /* Buttons at the right of the find entry */
         Button button_previous = get_button ("go-up");
         Button button_next = get_button ("go-down");
-        Button button_close = get_button ("window-close");
+        Button button_close = Tepl.utils_create_close_button () as Button;
 
         find_grid.add (button_previous);
         find_grid.add (button_next);


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