[gnome-calculator/wip-gtk4-port] Removed unused method



commit 4b560d7acdbb24de3f7d154401fbe7cce97764e4
Author: Robert Roth <robert roth off gmail com>
Date:   Thu Sep 30 20:40:19 2021 +0300

    Removed unused method

 src/math-buttons.vala | 22 ----------------------
 1 file changed, 22 deletions(-)
---
diff --git a/src/math-buttons.vala b/src/math-buttons.vala
index 7e739f93..470d8024 100644
--- a/src/math-buttons.vala
+++ b/src/math-buttons.vala
@@ -327,28 +327,6 @@ public class MathButtons : Gtk.Box
             prog_view_more_button.visible = visible;
     }
 
-    private void update_view_more_active ()
-    {
-        switch (mode)
-        {
-        default:
-        case ButtonMode.BASIC:
-            break;
-        case ButtonMode.ADVANCED:
-            if (adv_panel != null)
-                converter.view_more_active = prog_view_more_button.active = (adv_panel as 
Hdy.Leaflet).visible_child_name == "advanced";
-            break;
-        case ButtonMode.FINANCIAL:
-            if (fin_panel != null)
-                converter.view_more_active = prog_view_more_button.active = (fin_panel as 
Hdy.Leaflet).visible_child_name == "advanced";
-            break;
-        case ButtonMode.PROGRAMMING:
-            if (prog_panel != null)
-                converter.view_more_active = prog_view_more_button.active = prog_leaflet.visible_child_name 
== "advanced";
-            break;
-        }
-    }
-
     private Gtk.Widget load_mode (ButtonMode mode)
     {
         Gtk.Builder builder;


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