[Swfdec-commits] src/swfmoz_config.c

James Bowes jbowes at kemper.freedesktop.org
Tue Apr 22 15:21:23 PDT 2008


 src/swfmoz_config.c |    5 -----
 1 file changed, 5 deletions(-)

New commits:
commit 4236b6440abf563ce32eff98e7a6ec2063c300b7
Author: James Bowes <jbowes at dangerouslyinc.com>
Date:   Tue Apr 22 18:02:23 2008 -0400

    Remove some excessive logging from the autoplay config code.

diff --git a/src/swfmoz_config.c b/src/swfmoz_config.c
index add8354..10d4b49 100644
--- a/src/swfmoz_config.c
+++ b/src/swfmoz_config.c
@@ -43,7 +43,6 @@ swfmoz_config_save_file (SwfmozConfig *config)
   has_global = g_key_file_has_key (config->keyfile, "global", "autoplay",
 				   &error);
   if (error) {
-    g_printerr ("Unable to check for global config: %s\n", error->message);
     g_error_free (error);
     error = NULL;
   } else if (!has_global) {
@@ -87,8 +86,6 @@ swfmoz_config_read_file (void)
   keyfile = g_key_file_new ();
   if (!g_key_file_load_from_file (keyfile, keyfile_name, G_KEY_FILE_NONE,
 				  &error)) {
-      g_printerr ("Unable to load config file '%s': %s\n", keyfile_name,
-		  error->message);
       g_error_free (error);
       error = NULL;
   }
@@ -107,8 +104,6 @@ swfmoz_config_read_autoplay (SwfmozConfig *config, const char *host,
   tmp_autoplay = g_key_file_get_boolean (config->keyfile, host, "autoplay",
 					 &error);
   if (error) {
-    g_printerr ("Problem reading 'autoplay' for '%s': %s\n", host,
-		error->message);
     g_error_free (error);
   } else {
     autoplay = tmp_autoplay;


More information about the Swfdec-commits mailing list