[gnome-boxes/shut-build-warnings: 1/6] review-page: Drop unused function



commit e3f31c759e6924367dfde3d63729b240ff9547ae
Author: Felipe Borges <felipeborges gnome org>
Date:   Wed May 6 11:40:08 2020 +0200

    review-page: Drop unused function
    
    This is a leftover from the port to the new assistant.

 src/assistant/review-page.vala | 14 --------------
 1 file changed, 14 deletions(-)
---
diff --git a/src/assistant/review-page.vala b/src/assistant/review-page.vala
index 8257ab71..953f4dcf 100644
--- a/src/assistant/review-page.vala
+++ b/src/assistant/review-page.vala
@@ -158,20 +158,6 @@ public void add_property (string name, string? value) {
         show_all ();
     }
 
-    public void append_customize_button (CustomizeFunc customize_func) {
-        // there is nothing to customize if review page is empty
-        if (current_row == 0)
-            return;
-
-        var button = new Gtk.Button.with_mnemonic (_("C_ustomize…"));
-        button.hexpand = true;
-        button.margin_top = 20;
-        attach (button, 0, current_row, 2, 1);
-        button.show ();
-
-        button.clicked.connect (() => { customize_func (); });
-    }
-
     public void clear () {
         foreach (var child in get_children ()) {
             remove (child);


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