Skip to content

Commit

Permalink
Merge pull request #78 from ryonakano/use-gtk-application
Browse files Browse the repository at this point in the history
Application: Remove unused using, deprecations, and Gtk.init
  • Loading branch information
GijsGoudzwaard authored Aug 26, 2024
2 parents 0f062f2 + e5b6a3e commit 140b885
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Application.vala
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Granite.Widgets;

class Application : Granite.Application {
class Application : Gtk.Application {

private Image[] images = {};
private MainWindow app_window;
Expand Down Expand Up @@ -57,7 +55,6 @@ class Application : Granite.Application {
}

public static int main (string[] args) {
Gtk.init (ref args);
var app = new Application ();
return app.run (args);
}
Expand Down

0 comments on commit 140b885

Please sign in to comment.