[Spice-devel] [PATCH spice-gtk 3/3] usb-device-manager: Don't g_warning on autoconnect failure
Hans de Goede
hdegoede at redhat.com
Thu Dec 1 05:12:57 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 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gtk/usb-device-manager.c b/gtk/usb-device-manager.c
index b1d6c95..fd1e919 100644
--- a/gtk/usb-device-manager.c
+++ b/gtk/usb-device-manager.c
@@ -437,7 +437,7 @@ 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);
+ SPICE_DEBUG("%s", err->message);
g_signal_emit(self, signals[AUTO_CONNECT_FAILED], 0, device, err);
g_error_free(err);
}
--
1.7.7.4
More information about the Spice-devel
mailing list