From 94dd02c861e0f6df80d2b9ab2fcd1569ce6d07d0 Mon Sep 17 00:00:00 2001 From: Pierre Wieser Date: Mon, 21 Feb 2011 19:29:29 +0100 Subject: [PATCH] NAIContext: replace g_warning with g_debug --- src/core/na-icontext.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/na-icontext.c b/src/core/na-icontext.c index 3e94c940..831e424c 100644 --- a/src/core/na-icontext.c +++ b/src/core/na-icontext.c @@ -272,7 +272,7 @@ na_icontext_check_mimetypes( const NAIContext *context ) for( im = mimetypes ; im ; im = im->next ){ if( !im->data || !strlen( im->data )){ - g_warning( "%s: empty mimetype for context=%p", thisfn, ( void * ) context ); + g_debug( "%s: empty mimetype for context=%p", thisfn, ( void * ) context ); continue; } const gchar *imtype = ( const gchar * ) im->data; @@ -1228,7 +1228,7 @@ is_valid_mimetypes( const NAIContext *object ) imtype = ( const gchar * ) it->data; if( !imtype || !strlen( imtype )){ - g_warning( "%s: null or empty mimetype", thisfn ); + g_debug( "%s: null or empty mimetype", thisfn ); count_errs +=1; continue; } @@ -1236,12 +1236,12 @@ is_valid_mimetypes( const NAIContext *object ) if( imtype[0] == '*' ){ if( imtype[1] ){ if( imtype[1] != '/' ){ - g_warning( "%s: invalid mimetype: %s", thisfn, imtype ); + g_debug( "%s: invalid mimetype: %s", thisfn, imtype ); count_errs +=1; continue; } if( imtype[2] && imtype[2] != '*' ){ - g_warning( "%s: invalid mimetype: %s", thisfn, imtype ); + g_debug( "%s: invalid mimetype: %s", thisfn, imtype ); count_errs +=1; continue; } -- 2.11.4.GIT