[gnome-clocks] application: Init libhandy
- From: Zander <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks] application: Init libhandy
- Date: Wed, 24 Jun 2020 15:12:25 +0000 (UTC)
commit f5ef76c3649948fe90bb398fa9a4a813f7a6c079
Author: Adrien Plazas <kekun plazas laposte net>
Date: Tue Jun 23 16:06:43 2020 +0200
application: Init libhandy
Hdy.init() has been introduced back to solve many corner cases, but this
time it must be called soon after Gtk.init(), e.g. during the
Glib.Application.startup() callback, and it doesn't need the arguments.
src/application.vala | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/application.vala b/src/application.vala
index caa4448..2e67046 100644
--- a/src/application.vala
+++ b/src/application.vala
@@ -115,6 +115,8 @@ public class Application : Gtk.Application {
protected override void startup () {
base.startup ();
+ Hdy.init ();
+
Utils.load_css ("gnome-clocks");
set_resource_base_path ("/org/gnome/clocks/");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]