[gnome-usage] Remove commented code for build with autovala
- From: Petr Štětka <pstetka src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-usage] Remove commented code for build with autovala
- Date: Tue, 16 May 2017 12:29:26 +0000 (UTC)
commit 59b152a4ddbc544d809fc31835e8699fac710ab8
Author: Petr Štětka <pstetka redhat com>
Date: Wed Apr 26 16:36:06 2017 +0200
Remove commented code for build with autovala
https://bugzilla.gnome.org/show_bug.cgi?id=781542
src/application.vala | 3 +--
src/gnome-usage.vala | 7 -------
2 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/src/application.vala b/src/application.vala
index 519a5b7..b345a21 100644
--- a/src/application.vala
+++ b/src/application.vala
@@ -99,8 +99,7 @@ namespace Usage
translator_credits: _("translator-credits"),
website: "https://wiki.gnome.org/Apps/Usage",
website_label: _("Websites"),
- version: Config.VERSION, //messon
- //version: Constants.VERSION, //autovala
+ version: Config.VERSION,
license_type: License.GPL_3_0);
}
diff --git a/src/gnome-usage.vala b/src/gnome-usage.vala
index 7807fcc..b5b61fc 100644
--- a/src/gnome-usage.vala
+++ b/src/gnome-usage.vala
@@ -20,18 +20,11 @@
public static int main (string[] args)
{
- // messon
Intl.bindtextdomain(Config.GETTEXT_PACKAGE, Config.GNOMELOCALEDIR);
Intl.setlocale(LocaleCategory.ALL, "");
Intl.textdomain(Config.GETTEXT_PACKAGE);
Intl.bind_textdomain_codeset(Config.GETTEXT_PACKAGE, "utf-8");
- //Autovala
- /*Intl.bindtextdomain(Constants.GETTEXT_PACKAGE, Path.build_filename(Constants.DATADIR,"locale"));
- Intl.setlocale(LocaleCategory.ALL, "");
- Intl.textdomain(Constants.GETTEXT_PACKAGE);
- Intl.bind_textdomain_codeset(Constants.GETTEXT_PACKAGE, "utf-8");*/
-
var application = new Usage.Application();
return application.run(args);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]