[lightsoff/appmenu-retirement] Code cleanup after appmenu removal (#8)



commit ac4e862f1d1b7d117cf3fc16327281e19f36694e
Author: Robert Roth <robert roth off gmail com>
Date:   Mon Oct 8 23:41:19 2018 +0300

    Code cleanup after appmenu removal (#8)

 src/lightsoff.vala | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/src/lightsoff.vala b/src/lightsoff.vala
index 3cb7667..8f769a3 100644
--- a/src/lightsoff.vala
+++ b/src/lightsoff.vala
@@ -32,7 +32,6 @@ public class LightsOff : Gtk.Application
 
     private const GLib.ActionEntry[] action_entries =
     {
-        { "quit",          quit_cb     },
         { "help",          help_cb     },
         { "about",         about_cb    }
     };
@@ -60,11 +59,6 @@ public class LightsOff : Gtk.Application
         window.present ();
     }
 
-    private void quit_cb ()
-    {
-        window.destroy ();
-    }
-
     private void help_cb ()
     {
         try
@@ -83,6 +77,7 @@ public class LightsOff : Gtk.Application
         {
             "Tim Horton",
             "Robert Ancell",
+            "Robert Roth",
             null
         };
 


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