diff options
Diffstat (limited to 'src/ui/main.vala')
-rw-r--r-- | src/ui/main.vala | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/ui/main.vala b/src/ui/main.vala index 82dc9d1..f0712e1 100644 --- a/src/ui/main.vala +++ b/src/ui/main.vala @@ -14,18 +14,12 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <https://www.gnu.org/licenses/>. -[CCode (cname="PACKAGE")] -extern const string PACKAGE; - -[CCode (cname="LOCALEDIR")] -extern const string LOCALEDIR; - namespace Disfluid { class Main: GLib.Object { public static int main (string[] args) { GLib.Intl.setlocale (GLib.LocaleCategory.ALL, ""); - GLib.Intl.bindtextdomain (PACKAGE, LOCALEDIR); - GLib.Intl.textdomain (PACKAGE); + GLib.Intl.bindtextdomain (Build.PACKAGE, Build.LOCALEDIR); + GLib.Intl.textdomain (Build.PACKAGE); int return_code = 1; Disfluid.Api.init ((api) => { var settings = new Disfluid.Settings (api); |