[gtk-doc] scan: use LogWarning more



commit 52fd2452628f94bb6daa93c4377017669ab57428
Author: Stefan Kost <ensonic users sf net>
Date:   Tue Mar 29 12:14:53 2011 +0300

    scan: use LogWarning more

 gtkdoc-scan.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtkdoc-scan.in b/gtkdoc-scan.in
index 8cb89f6..5d35745 100755
--- a/gtkdoc-scan.in
+++ b/gtkdoc-scan.in
@@ -293,7 +293,7 @@ sub ScanHeader {
     if ($input_file =~ m/^.*[\/\\](.*)\.h+$/) {
 	$file_basename = $1;
     } else {
-	print "WARNING: Can't find basename of file $input_file\n";
+	LogWarning(__FILE__,__LINE__,"Can't find basename of file $input_file");
 	$file_basename = $input_file;
     }
 
@@ -304,7 +304,7 @@ sub ScanHeader {
     }
 
     if (! -f $input_file) {
-	print "WARNING: File doesn't exist: $input_file\n";
+	LogWarning(__FILE__,__LINE__,"File doesn't exist: $input_file");
 	return;
     }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]