[fractal/fractal-next] Fix warnings
- From: Julian Sparber <jsparber src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal/fractal-next] Fix warnings
- Date: Sun, 11 Jul 2021 09:07:15 +0000 (UTC)
commit d987bfcc8ef06164c5ef902bc66960a8e7df2a6f
Author: Kai A. Hiller <V02460 gmail com>
Date: Sat Jul 10 15:50:54 2021 +0200
Fix warnings
src/main.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/main.rs b/src/main.rs
index d837c266..f714ef3d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -39,8 +39,8 @@ fn main() {
// Prepare i18n
setlocale(LocaleCategory::LcAll, "");
- bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
- textdomain(GETTEXT_PACKAGE);
+ bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR).expect("Invalid argument passed to bindtextdomain");
+ textdomain(GETTEXT_PACKAGE).expect("Invalid string passed to textdomain");
gtk::glib::set_application_name("Fractal");
gtk::glib::set_prgname(Some("fractal"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]