Bug 29447 - [update-mime-database] Don't call g_warning() with a \n
Summary: [update-mime-database] Don't call g_warning() with a \n
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Shared Mime Info group
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-08 03:05 UTC by Sebastian Dröge (slomo)
Modified: 2010-09-07 10:24 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Sebastian Dröge (slomo) 2010-08-08 03:05:27 UTC
Hi,
see http://bugs.debian.org/592201

g_warning() shouldn't be called with a \n at the end, it will already do that by itself. The patch there should be applied and maybe applied to other calls of g_warning() too
Comment 1 Bastien Nocera 2010-09-07 10:24:29 UTC
commit 30c27b26d014161a9552f27715c9bb9f055f1f9d
Author: Bastien Nocera <hadess@hadess.net>
Date:   Tue Sep 7 18:23:17 2010 +0100

    Fix use of newlines in g_warning() calls
    
    Remove trailing newlines in g_warning calls, remove
    use of multi-line calls to g_warning.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=29447


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.