[gnome-games/wip/exalm/searchbar: 4/5] main: Use Hdy.init()
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/searchbar: 4/5] main: Use Hdy.init()
- Date: Tue, 4 Dec 2018 09:00:59 +0000 (UTC)
commit 96cc6bab119df882e486af85bb27626d391c3127
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Mon Dec 3 18:49:33 2018 +0500
main: Use Hdy.init()
Libhandy now has a preferred way for initializing types, so use it instead
of doing it manually.
src/main.vala | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/main.vala b/src/main.vala
index 7aa30afe..493dad22 100644
--- a/src/main.vala
+++ b/src/main.vala
@@ -6,9 +6,7 @@ int main (string[] args) {
Intl.textdomain (Config.GETTEXT_PACKAGE);
Grl.init (ref args);
-
- typeof (Hdy.Column).ensure ();
- typeof (Hdy.TitleBar).ensure ();
+ Hdy.init (ref args);
var app = new Games.Application ();
var result = app.run (args);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]