diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2016-03-21 13:40:11 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2016-03-21 13:40:11 -0500 |
commit | 7a25132c125f6e5e413ad26ea950ae22bee982f5 (patch) | |
tree | 1870caed0aec4960053bd9e5125574dbcb48b08c /src/usb-snap.cpp | |
parent | 45709c48f34e0909c1309dccac1dd3e047f518fb (diff) | |
download | ayatana-indicator-display-7a25132c125f6e5e413ad26ea950ae22bee982f5.tar.gz ayatana-indicator-display-7a25132c125f6e5e413ad26ea950ae22bee982f5.tar.bz2 ayatana-indicator-display-7a25132c125f6e5e413ad26ea950ae22bee982f5.zip |
if our USB device is disconnected while prompting the user for ADBD, cancel the prompt.
Diffstat (limited to 'src/usb-snap.cpp')
-rw-r--r-- | src/usb-snap.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/usb-snap.cpp b/src/usb-snap.cpp index 41c78c6..349d80e 100644 --- a/src/usb-snap.cpp +++ b/src/usb-snap.cpp @@ -148,6 +148,7 @@ private: { GError* error {}; auto reply = g_dbus_connection_call_finish (G_DBUS_CONNECTION(obus), res, &error); +g_message("%s got notify response %s", G_STRLOC, g_variant_print(reply, true)); if (error != nullptr) { if (!g_error_matches(error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) g_warning("UsbSnap: Error calling Notify: %s", error->message); |