[Spice-devel] [PATCH spice-gtk 5/5] usb-device-manager: Fix stray '\n'-s in g_warning calls

Hans de Goede hdegoede at redhat.com
Tue Apr 23 05:19:52 PDT 2013


Signed-off-by: Hans de Goede <hdegoede at redhat.com>
---
 gtk/usb-device-manager.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gtk/usb-device-manager.c b/gtk/usb-device-manager.c
index 7575417..b7f24da 100644
--- a/gtk/usb-device-manager.c
+++ b/gtk/usb-device-manager.c
@@ -385,7 +385,7 @@ static void spice_usb_device_manager_set_property(GObject       *gobject,
         if (r) {
             if (r == -ENOMEM)
                 g_error("Failed to allocate memory for auto-connect-filter");
-            g_warning("Error parsing auto-connect-filter string, keeping old filter\n");
+            g_warning("Error parsing auto-connect-filter string, keeping old filter");
             break;
         }
 
@@ -409,7 +409,7 @@ static void spice_usb_device_manager_set_property(GObject       *gobject,
         if (r) {
             if (r == -ENOMEM)
                 g_error("Failed to allocate memory for redirect-on-connect");
-            g_warning("Error parsing redirect-on-connect string, keeping old filter\n");
+            g_warning("Error parsing redirect-on-connect string, keeping old filter");
             break;
         }
 
-- 
1.8.2



More information about the Spice-devel mailing list