Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions src/Application.vala
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ namespace Maya {
GLib.Intl.bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
GLib.Intl.bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
GLib.Intl.textdomain (GETTEXT_PACKAGE);

add_main_option_entries (APP_OPTIONS);
}

protected override void startup () {
Expand Down Expand Up @@ -215,16 +217,6 @@ namespace Maya {
}

public static int main (string[] args) {
var context = new OptionContext (_("Calendar"));
context.add_main_entries (Application.APP_OPTIONS, "maya");
context.add_group (Gtk.get_option_group (true));

try {
context.parse (ref args);
} catch (Error e) {
warning (e.message);
}

GtkClutter.init (ref args);
var app = new Application ();

Expand Down