[dconf-editor] Use GApplication's quit() function.



commit fa0a018d57da5927d26f1ce48733fb5021a38d44
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Mon Feb 23 10:38:46 2015 +0100

    Use GApplication's quit() function.

 editor/dconf-editor.vala |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/editor/dconf-editor.vala b/editor/dconf-editor.vala
index 41740f9..854c923 100644
--- a/editor/dconf-editor.vala
+++ b/editor/dconf-editor.vala
@@ -28,7 +28,7 @@ class ConfigurationEditor : Gtk.Application
     {
         { "find",  find_cb  },
         { "about", about_cb },
-        { "quit",  quit_cb  }
+        { "quit",  quit  }
     };
 
     public ConfigurationEditor()
@@ -422,11 +422,6 @@ class ConfigurationEditor : Gtk.Application
                                null);
     }
 
-    private void quit_cb()
-    {
-        window.destroy();
-    }
-
     public static int main(string[] args)
     {
                Intl.setlocale (LocaleCategory.ALL, "");


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