From: lace <> Date: Mon, 26 Dec 2005 16:45:53 +0000 (+0000) Subject: Fixed to permit sandbox Captive severity mode: g_warning() -> g_message() X-Git-Tag: captive-1_1_6~23 X-Git-Url: https://git.jankratochvil.net/?p=captive.git;a=commitdiff_plain;h=9788beb7ff6df9a0d9c3617c1e867cbf6944165f Fixed to permit sandbox Captive severity mode: g_warning() -> g_message() --- diff --git a/src/libcaptive/captivemodid/captivemodid.c b/src/libcaptive/captivemodid/captivemodid.c index 3344896..13ff945 100644 --- a/src/libcaptive/captivemodid/captivemodid.c +++ b/src/libcaptive/captivemodid/captivemodid.c @@ -381,7 +381,7 @@ const gchar *msg; msg=_("Unable to load modid database: %s"); if (fatal) g_error(msg,pathname_default); - g_warning(msg,pathname_default); + g_message(msg,pathname_default); return NULL; } diff --git a/src/libcaptive/client/options-module.c b/src/libcaptive/client/options-module.c index ba07eaa..bd89bc3 100644 --- a/src/libcaptive/client/options-module.c +++ b/src/libcaptive/client/options-module.c @@ -43,7 +43,7 @@ static void module_check_captivemodid(struct captive_options_module *options_mod "You do not have loaded any .captivemodid.xml database using: --modid-path\n" "Unable to check MS-Windows module file validity. You should load the database first.\n" "You may also force loading of the module although it may not be tested: --load-untested")); - g_warning(_("Loading possibly INCOMPATIBLE module as no database is present. Forced by: --load-untested: %s"), + g_message(_("Loading possibly INCOMPATIBLE module as no database is present. Forced by: --load-untested: %s"), pathname_utf8); return; } @@ -55,7 +55,7 @@ static void module_check_captivemodid(struct captive_options_module *options_mod "You should get more recent identifications database: %s\n" "Otherwise you may also force the loading by the option: --load-untested"), pathname_utf8,captive_captivemodid_get_pathname_loaded(captive_options->captivemodid)); - g_warning(_( + g_message(_( "Loading UNTESTED and possibly INCOMPATIBLE module: %s\n" "Although forced by --load-untested you really should get more recent modid database: %s\n"), pathname_utf8,captive_captivemodid_get_pathname_loaded(captive_options->captivemodid));