[gnome-software/gnome-3-16] extras: abort at runtime if iso-codes is missing
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-16] extras: abort at runtime if iso-codes is missing
- Date: Fri, 5 Jun 2015 19:28:18 +0000 (UTC)
commit 7c1f1075ac8aeb1ee2fa1dc2700642a6e9004d97
Author: Kalev Lember <kalevlember gmail com>
Date: Mon May 18 22:39:10 2015 +0200
extras: abort at runtime if iso-codes is missing
This will hopefully ensure that distros pick up the new runtime
dependency. Suggested by Michael Catanzaro on IRC.
src/gs-shell-extras.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-shell-extras.c b/src/gs-shell-extras.c
index 1a31d89..1016124 100644
--- a/src/gs-shell-extras.c
+++ b/src/gs-shell-extras.c
@@ -1199,7 +1199,7 @@ gs_shell_extras_init (GsShellExtras *shell_extras)
shell_extras->priv->language = gs_language_new ();
gs_language_populate (shell_extras->priv->language, &error);
if (error != NULL)
- g_warning ("Failed to map ISO639 to language names: %s", error->message);
+ g_error ("Failed to map ISO639 to language names: %s", error->message);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]