Browse Source

Upgrade to Vala 42.2.

Kolan Sh 6 months ago
parent
commit
a984cf4fad
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      src/laview-core/object-plugins/Settings.vala

+ 1
- 2
src/laview-core/object-plugins/Settings.vala View File

@@ -3,7 +3,7 @@ namespace LAview.ObjectExample {
3 3
 	public class AppSettings : Object {
4 4
 		Settings settings;
5 5
 
6
-		string _greeting;
6
+		string _greeting = "lyx";
7 7
 
8 8
 		public string greeting {
9 9
 			get { return _greeting; }
@@ -11,7 +11,6 @@ namespace LAview.ObjectExample {
11 11
 				if (settings != null) settings.set_string ("greeting", value);
12 12
 				_greeting = value;
13 13
 			}
14
-			default = "lyx";
15 14
 		}
16 15
 
17 16
 		public AppSettings () throws Error {

Loading…
Cancel
Save