diff options
author | charles kerr <charlesk@canonical.com> | 2015-12-28 15:56:44 -0600 |
---|---|---|
committer | charles kerr <charlesk@canonical.com> | 2015-12-28 15:56:44 -0600 |
commit | 6f553929ea723c0ab3d050807f4770924e23885c (patch) | |
tree | bddebcae219be652ed3fedf51438f181157ea0e3 /src | |
parent | e63ae571f56a93fce240f20d224bd356aa18a28b (diff) | |
download | ayatana-indicator-sound-6f553929ea723c0ab3d050807f4770924e23885c.tar.gz ayatana-indicator-sound-6f553929ea723c0ab3d050807f4770924e23885c.tar.bz2 ayatana-indicator-sound-6f553929ea723c0ab3d050807f4770924e23885c.zip |
remove earlier unneeded tracers
Diffstat (limited to 'src')
-rw-r--r-- | src/service.vala | 8 | ||||
-rw-r--r-- | src/volume-control-pulse.vala | 6 | ||||
-rw-r--r-- | src/volume-warning.vala | 3 |
3 files changed, 4 insertions, 13 deletions
diff --git a/src/service.vala b/src/service.vala index 1e611b8..9a646a5 100644 --- a/src/service.vala +++ b/src/service.vala @@ -148,11 +148,9 @@ public class IndicatorSound.Service: Object { return_if_fail (n != null); if (n.id != 0) { try { - GLib.message("calling n.close()"); n.close(); - GLib.message("done calling n.close()"); } catch (GLib.Error e) { - warning("Unable to close notification: %s", e.message); + GLib.warning("Unable to close notification: %s", e.message); } } } @@ -160,11 +158,9 @@ public class IndicatorSound.Service: Object { private void show_notification(Notify.Notification? n) { return_if_fail (n != null); try { - GLib.message("calling n.show()"); n.show (); - GLib.message("done calling n.show()"); } catch (GLib.Error e) { - warning ("Unable to show notification: %s", e.message); + GLib.warning ("Unable to show notification: %s", e.message); } } diff --git a/src/volume-control-pulse.vala b/src/volume-control-pulse.vala index efbbb97..661e71b 100644 --- a/src/volume-control-pulse.vala +++ b/src/volume-control-pulse.vala @@ -328,16 +328,13 @@ public class VolumeControlPulse : VolumeControl private async void update_active_sink_input (int32 index) { - GLib.message("index %d _active_sink_input %d in list %d", (int)index, (int)_active_sink_input, (int)(index in _sink_input_list)); if ((index == -1) || (index != _active_sink_input && index in _sink_input_list)) { string sink_input_objp = _objp_role_alert; if (index != -1) sink_input_objp = _sink_input_hash.get (index); _active_sink_input = index; var stream = calculate_active_stream(); - GLib.message("calculating active stream: %d", (int)stream); if (active_stream != stream) { - GLib.message("changing active_stream from %d to %d", (int)active_stream, stream); active_stream = stream; } @@ -731,7 +728,6 @@ public class VolumeControlPulse : VolumeControl } } - GLib.message ("PulseAudio dbus unix socket: %s", address); DBusConnection conn = null; try { conn = new DBusConnection.for_address_sync (address, DBusConnectionFlags.AUTHENTICATION_CLIENT); @@ -739,7 +735,7 @@ public class VolumeControlPulse : VolumeControl GLib.warning("Unable to connect to dbus server at '%s': %s", address, e.message); /* If it fails, it means the dbus pulse extension is not available */ } - GLib.message("conn is %p", (void*)conn); + GLib.debug ("PulseAudio dbus address is '%s', connection is '%p'", address, conn); return conn; } diff --git a/src/volume-warning.vala b/src/volume-warning.vala index d2379a4..9a51d04 100644 --- a/src/volume-warning.vala +++ b/src/volume-warning.vala @@ -131,7 +131,6 @@ public class VolumeWarning : Object private void pulse_on_sink_input_info (Context c, SinkInputInfo? i, int eol) { if (eol != 0) { - GLib.message("at end of list, _multimedia_sink_input_index is %d", (int)_multimedia_sink_input_index); _sink_input_info_list_operation = null; } @@ -139,7 +138,7 @@ public class VolumeWarning : Object return; if (is_active_multimedia(i)) { - GLib.message("setting multimedia index to %d, volume to %d", (int)i.index, (int)i.volume.max()); + GLib.message("pulse_on_sink_input_info() setting multimedia index to %d, volume to %d", (int)i.index, (int)i.volume.max()); _multimedia_sink_input_index = i.index; _multimedia_cvolume = i.volume; multimedia_volume = i.volume.max(); |