diff options
author | Marvin W <git@larma.de> | 2017-05-04 22:05:48 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2017-08-17 19:53:34 +0200 |
commit | 5dc460fc1a72a3dfe83453f4c6683be20a1a2a2d (patch) | |
tree | 764b4770607e0a2997a69a5651c81e90ca3d4e99 /main/src/ui/application.vala | |
parent | f78818abbee52dc187812428d3eb6542853611a0 (diff) | |
download | dino-5dc460fc1a72a3dfe83453f4c6683be20a1a2a2d.tar.gz dino-5dc460fc1a72a3dfe83453f4c6683be20a1a2a2d.zip |
libdino: remove dependency to GTK+ (all GTK+ code is in main+plugins)
Diffstat (limited to 'main/src/ui/application.vala')
-rw-r--r-- | main/src/ui/application.vala | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/main/src/ui/application.vala b/main/src/ui/application.vala index 72bd4d0d..75b82352 100644 --- a/main/src/ui/application.vala +++ b/main/src/ui/application.vala @@ -3,11 +3,17 @@ using Gtk; using Dino.Entities; using Dino.Ui; -public class Dino.Ui.Application : Dino.Application { +public class Dino.Ui.Application : Gtk.Application, Dino.Application { private Notifications notifications; private UnifiedWindow window; + public Database db { get; set; } + public StreamInteractor stream_interaction { get; set; } + public Plugins.Registry plugin_registry { get; set; default = new Plugins.Registry(); } + public SearchPathGenerator? search_path_generator { get; set; } + public Application() throws Error { + init(); Notify.init("dino"); Environment.set_application_name("Dino"); Gtk.Window.set_default_icon_name("dino"); |