aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/application.vala
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-11-06 01:02:13 +0100
committerfiaxh <git@mx.ax.lt>2017-11-16 14:09:30 +0100
commit1d0745177e7a116455811dfd26e07b848cb89b75 (patch)
tree7517c4b1e1fd932e22bff091c9eb93f1c1884b35 /main/src/ui/application.vala
parentf6ac5bbd26638412a2289fd1d28ef12de1d7e8b5 (diff)
downloaddino-1d0745177e7a116455811dfd26e07b848cb89b75.tar.gz
dino-1d0745177e7a116455811dfd26e07b848cb89b75.zip
Replace deprecated function usages
Diffstat (limited to 'main/src/ui/application.vala')
-rw-r--r--main/src/ui/application.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/application.vala b/main/src/ui/application.vala
index 625673fb..e4fdd9eb 100644
--- a/main/src/ui/application.vala
+++ b/main/src/ui/application.vala
@@ -102,7 +102,7 @@ public class Dino.Ui.Application : Gtk.Application, Dino.Application {
SimpleAction quit_action = new SimpleAction("quit", null);
quit_action.activate.connect(quit);
add_action(quit_action);
- add_accelerator("<Ctrl>Q", "app.quit", null);
+ set_accels_for_action("app.quit", new string[]{"<Ctrl>Q"});
Builder builder = new Builder.from_resource("/im/dino/menu_app.ui");
MenuModel menu = builder.get_object("menu_app") as MenuModel;