We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5d5bf2 commit 55656faCopy full SHA for 55656fa
1 file changed
src/Application.vala
@@ -58,6 +58,8 @@ namespace Maya {
58
GLib.Intl.bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
59
GLib.Intl.bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
60
GLib.Intl.textdomain (GETTEXT_PACKAGE);
61
+
62
+ add_main_option_entries (APP_OPTIONS);
63
}
64
65
protected override void startup () {
@@ -215,16 +217,6 @@ namespace Maya {
215
217
216
218
219
public static int main (string[] args) {
- var context = new OptionContext (_("Calendar"));
- context.add_main_entries (Application.APP_OPTIONS, "maya");
220
- context.add_group (Gtk.get_option_group (true));
221
-
222
- try {
223
- context.parse (ref args);
224
- } catch (Error e) {
225
- warning (e.message);
226
- }
227
228
GtkClutter.init (ref args);
229
var app = new Application ();
230
0 commit comments