From b0f3b4ffc45d282795d0fb23e524723bdd7bec46 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 9 Jun 2019 13:07:52 -0700 Subject: [PATCH] removed dependency on libwebkit2gtk 3 & removed default value from property --- CMakeLists.txt | 1 - src/Widgets/Window.vala | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 899b847..672109d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,7 +33,6 @@ find_package(PkgConfig) # either of webkitpackages would do pkg_search_module(WEBKIT REQUIRED webkit2gtk-4.0 - webkit2gtk-3.0 ) pkg_check_modules(DEPS REQUIRED diff --git a/src/Widgets/Window.vala b/src/Widgets/Window.vala index b479ba3..e5fda6b 100644 --- a/src/Widgets/Window.vala +++ b/src/Widgets/Window.vala @@ -17,7 +17,6 @@ public class Window : Gtk.ApplicationWindow { _current_file = value; add_filename_to_title (); } - default = null; } private bool file_modified = false; @@ -81,6 +80,7 @@ public class Window : Gtk.ApplicationWindow { public Window (MarkMyWordsApp app) { this.app = app; + this._current_file = null; add_action_entries (win_actions, this);