[gnome-chess] Remove stray menu button changes that snuck into previous commit



commit 23994bb997f393311f79021ff7529d904be17840
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Dec 5 12:31:14 2020 -0600

    Remove stray menu button changes that snuck into previous commit
    
    I was testing a local hack. This wasn't supposed to be pushed.

 data/gnome-chess.ui  | 2 +-
 src/gnome-chess.vala | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/data/gnome-chess.ui b/data/gnome-chess.ui
index eee2056..dea1a94 100644
--- a/data/gnome-chess.ui
+++ b/data/gnome-chess.ui
@@ -106,7 +106,7 @@
           </object>
         </child>
         <child>
-          <object class="GtkMenuButton" id="menu_button">
+          <object class="GtkMenuButton">
             <property name="visible">True</property>
             <property name="can-focus">True</property>
             <property name="menu-model">app-menu</property>
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index a57f412..d53faf9 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -45,7 +45,6 @@ public class ChessApplication : Gtk.Application
     private Widget black_time_label;
     private Widget timer_increment_label;
     private HeaderBar headerbar;
-    private MenuButton menu_button;
 
     private Dialog? preferences_dialog = null;
     private ComboBox side_combo;
@@ -166,7 +165,6 @@ Copyright © 2015–2016 Sahil Sareen""";
         black_time_label = (Widget) builder.get_object ("black_time_label");
         view_container = (Container) builder.get_object ("view_container");
         headerbar = (HeaderBar) builder.get_object ("headerbar");
-        menu_button = (MenuButton) builder.get_object ("menu_button");
         builder.connect_signals (this);
 
         update_pause_resume_button ();


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