[gthumb: 10/23] abort if a mandatory extension cannot be loaded
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb: 10/23] abort if a mandatory extension cannot be loaded
- Date: Sun, 4 Mar 2012 17:56:04 +0000 (UTC)
commit 3038953d1c262604580c03a16058cdef4bcb6f7a
Author: Paolo Bacchilega <paobac src gnome org>
Date: Wed Feb 22 18:56:23 2012 +0100
abort if a mandatory extension cannot be loaded
gthumb/gth-main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gthumb/gth-main.c b/gthumb/gth-main.c
index 0b11f3a..b8a8570 100644
--- a/gthumb/gth-main.c
+++ b/gthumb/gth-main.c
@@ -1221,8 +1221,8 @@ gth_main_activate_extensions (void)
for (i = 0; mandatory_extensions[i] != NULL; i++) {
if (! gth_extension_manager_activate (Main->priv->extension_manager, mandatory_extensions[i], &error)) {
- g_warning ("Could not load the '%s' extension: %s", mandatory_extensions[i], error->message);
- g_clear_error (&error);
+ g_critical ("Could not load the mandatory extension '%s': %s", mandatory_extensions[i], error->message);
+ abort ();
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]