[gnome-software] 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] extras: abort at runtime if iso-codes is missing
- Date: Mon, 18 May 2015 21:47:27 +0000 (UTC)
commit 966a14b3b0f45edc7b33c802f49baa1d0a22ef9a
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 8cf1a4a..7a283fe 100644
--- a/src/gs-shell-extras.c
+++ b/src/gs-shell-extras.c
@@ -1212,7 +1212,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]