Skip to content

Commit 23a22ec

Browse files
committed
fix lint
1 parent 892ee3e commit 23a22ec

File tree

14 files changed

+1295
-1295
lines changed

14 files changed

+1295
-1295
lines changed

src/Application.vala

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -21,54 +21,54 @@
2121
*/
2222

2323
public class Tomato : Gtk.Application {
24-
public MainWindow main_window;
24+
public MainWindow main_window;
2525

26-
public Tomato () {
27-
Object (
28-
application_id: "io.github.ellie_commons.tomato",
29-
flags: ApplicationFlags.FLAGS_NONE
30-
);
31-
}
26+
public Tomato () {
27+
Object (
28+
application_id: "io.github.ellie_commons.tomato",
29+
flags: ApplicationFlags.FLAGS_NONE
30+
);
31+
}
3232

33-
protected override void startup () {
34-
base.startup ();
33+
protected override void startup () {
34+
base.startup ();
3535

36-
Granite.init ();
36+
Granite.init ();
3737

38-
Intl.setlocale (LocaleCategory.ALL, "");
39-
Intl.bindtextdomain (Build.GETTEXT_PACKAGE, Build.LOCALEDIR);
40-
Intl.bind_textdomain_codeset (Build.GETTEXT_PACKAGE, "UTF-8");
41-
Intl.textdomain (Build.GETTEXT_PACKAGE);
38+
Intl.setlocale (LocaleCategory.ALL, "");
39+
Intl.bindtextdomain (Build.GETTEXT_PACKAGE, Build.LOCALEDIR);
40+
Intl.bind_textdomain_codeset (Build.GETTEXT_PACKAGE, "UTF-8");
41+
Intl.textdomain (Build.GETTEXT_PACKAGE);
4242

43-
var quit_action = new SimpleAction ("quit", null);
43+
var quit_action = new SimpleAction ("quit", null);
4444

45-
add_action (quit_action);
46-
set_accels_for_action ("app.quit", {"<Control>q"});
45+
add_action (quit_action);
46+
set_accels_for_action ("app.quit", {"<Control>q"});
4747

48-
quit_action.activate.connect (quit);
49-
}
48+
quit_action.activate.connect (quit);
49+
}
5050

51-
protected override void activate () {
52-
if (main_window != null) {
51+
protected override void activate () {
52+
if (main_window != null) {
5353
main_window.present ();
5454
return;
5555
}
5656

57-
var main_window = new MainWindow (this);
57+
var main_window = new MainWindow (this);
5858

59-
// Use Css
60-
var provider = new Gtk.CssProvider ();
61-
provider.load_from_resource ("/io/github/ellie_commons/tomato/Application.css");
59+
// Use Css
60+
var provider = new Gtk.CssProvider ();
61+
provider.load_from_resource ("/io/github/ellie_commons/tomato/Application.css");
6262

63-
Gtk.StyleContext.add_provider_for_display (
64-
Gdk.Display.get_default (),
65-
provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION
66-
);
63+
Gtk.StyleContext.add_provider_for_display (
64+
Gdk.Display.get_default (),
65+
provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION
66+
);
6767

68-
main_window.present ();
69-
}
68+
main_window.present ();
69+
}
7070

71-
public static int main (string[] args) {
72-
return new Tomato ().run (args);
73-
}
74-
}
71+
public static int main (string[] args) {
72+
return new Tomato ().run (args);
73+
}
74+
}

0 commit comments

Comments
 (0)