[Spice-devel] [PATCH spice-gtk 3/3] usb-device-manager: Don't g_warning on autoconnect failure
Hans de Goede
hdegoede at redhat.com
Sat Nov 19 07:29:42 PST 2011
We already emit a signal for this, either the app using spice-client-glib
listens to this signals and does something with it, or it is not interested
in this happening, at which point logging a g_warning for it is not really
useful.
Signed-off-by: Hans de Goede <hdegoede at redhat.com>
---
gtk/usb-device-manager.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/gtk/usb-device-manager.c b/gtk/usb-device-manager.c
index 24f9ad1..ec973c6 100644
--- a/gtk/usb-device-manager.c
+++ b/gtk/usb-device-manager.c
@@ -438,7 +438,6 @@ static void spice_usb_device_manager_auto_connect_cb(GObject *gobject,
g_prefix_error(&err, "Could not auto-redirect %s: ", desc);
g_free(desc);
- g_warning("%s", err->message);
g_signal_emit(self, signals[AUTO_CONNECT_FAILED], 0, device, err);
}
if (err)
--
1.7.7.3
More information about the Spice-devel
mailing list