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

Christophe Fergeau cfergeau at redhat.com
Tue Apr 23 11:16:08 PDT 2013


ACK
On Tue, Apr 23, 2013 at 02:19:52PM +0200, Hans de Goede wrote:
> 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
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130423/6cacc8b1/attachment-0001.pgp>


More information about the Spice-devel mailing list