<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<h3>
PulseAudio Marge Bot pushed to branch master
at <a href="https://gitlab.freedesktop.org/pulseaudio/pavucontrol">PulseAudio / pavucontrol</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/commit/381b708202e87e40347a57f8a627014199cde266">381b7082</a></strong>
<div>
<span>by Igor V. Kovalenko</span>
<i>at 2021-01-04T18:56:17+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">mainwindow: do not erase from container while iterating
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/53>
</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class="file-stats">
<a href="#d4961ca507b99594255261f18b0e90bb2650180f">
src/mainwindow.cc
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id="d4961ca507b99594255261f18b0e90bb2650180f">
<a href="https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/commit/381b708202e87e40347a57f8a627014199cde266#d4961ca507b99594255261f18b0e90bb2650180f"><strong>src/mainwindow.cc</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="1260" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="1260" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -1260,18 +1260,18 @@ void MainWindow::removeClient(uint32_t index) {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1260" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1260
</td>
<td class="diff-line-num new_line" data-linenumber="1260" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1260
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1260" class="line" lang="cpp"><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1261" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1261
</td>
<td class="diff-line-num new_line" data-linenumber="1261" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1261
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1261" class="line" lang="cpp"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1262" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1262
</td>
<td class="diff-line-num new_line" data-linenumber="1262" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1262
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1262" class="line" lang="cpp"><span class="kt" style="color: #458; font-weight: 600;">void</span> <span class="n" style="color: #333;">MainWindow</span><span class="o" style="font-weight: 600;">::</span><span class="n" style="color: #333;">removeAllWidgets</span><span class="p">()</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1263" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1263
</td>
<td class="diff-line-num new_line old" data-linenumber="1263" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1263" class="line" lang="cpp"> <span class="k" style="font-weight: 600;"><span class="idiff left">for</span></span><span class="idiff"> </span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333;"><span class="idiff">std</span></span><span class="o" style="font-weight: 600;"><span class="idiff">::</span></span><span class="n" style="color: #333;"><span class="idiff">map</span></span><span class="o" style="font-weight: 600;"><span class="idiff"><</span></span><span class="kt" style="color: #458; font-weight: 600;"><span class="idiff">uint32_t</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">SinkInputWidget</span></span><span class="o" style="font-weight: 600;"><span class="idiff">*>::</span></span><span class="n" style="color: #333;"><span class="idiff">iterator</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">it</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff">=</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">sinkInputWidgets</span></span><span class="p"><span class="idiff">.</span></span><span class="n" style="color: #333;"><span class="idiff">begin</span></span><span class="p"><span class="idiff">();</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">it</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff">!=</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">sinkInputWidgets</span></span><span class="p"><span class="idiff">.</span></span><span class="n" style="color: #333;"><span class="idiff">end</span></span><span class="p"><span class="idiff">();</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff">++</span></span><span class="n" style="color: #333;"><span class="idiff right">it</span></span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1264" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1264
</td>
<td class="diff-line-num new_line old" data-linenumber="1263" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1264" class="line" lang="cpp"> <span class="n" style="color: #333;">removeSinkInput</span><span class="p">(</span><span class="n" style="color: #333;"><span class="idiff left right">it</span></span><span class="o" style="font-weight: 600;">-></span><span class="n" style="color: #333;">first</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1265" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1265
</td>
<td class="diff-line-num new_line old" data-linenumber="1263" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1265" class="line" lang="cpp"> <span class="k" style="font-weight: 600;"><span class="idiff left">for</span></span><span class="idiff"> </span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333;"><span class="idiff">std</span></span><span class="o" style="font-weight: 600;"><span class="idiff">::</span></span><span class="n" style="color: #333;"><span class="idiff">map</span></span><span class="o" style="font-weight: 600;"><span class="idiff"><</span></span><span class="kt" style="color: #458; font-weight: 600;"><span class="idiff">uint32_t</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">SourceOutputWidget</span></span><span class="o" style="font-weight: 600;"><span class="idiff">*>::</span></span><span class="n" style="color: #333;"><span class="idiff">iterator</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">it</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff">=</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">sourceOutputWidgets</span></span><span class="p"><span class="idiff">.</span></span><span class="n" style="color: #333;"><span class="idiff">begin</span></span><span class="p"><span class="idiff">();</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">it</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff">!=</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">sourceOutputWidgets</span></span><span class="p"><span class="idiff">.</span></span><span class="n" style="color: #333;"><span class="idiff">end</span></span><span class="p"><span class="idiff">();</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff">++</span></span><span class="n" style="color: #333;"><span class="idiff right">it</span></span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1266" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1266
</td>
<td class="diff-line-num new_line old" data-linenumber="1263" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1266" class="line" lang="cpp"> <span class="n" style="color: #333;">removeSourceOutput</span><span class="p">(</span><span class="n" style="color: #333;"><span class="idiff left right">it</span></span><span class="o" style="font-weight: 600;">-></span><span class="n" style="color: #333;">first</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1267" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1267
</td>
<td class="diff-line-num new_line old" data-linenumber="1263" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1267" class="line" lang="cpp"> <span class="k" style="font-weight: 600;"><span class="idiff left">for</span></span><span class="idiff"> </span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333;"><span class="idiff">std</span></span><span class="o" style="font-weight: 600;"><span class="idiff">::</span></span><span class="n" style="color: #333;"><span class="idiff">map</span></span><span class="o" style="font-weight: 600;"><span class="idiff"><</span></span><span class="kt" style="color: #458; font-weight: 600;"><span class="idiff">uint32_t</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">SinkWidget</span></span><span class="o" style="font-weight: 600;"><span class="idiff">*>::</span></span><span class="n" style="color: #333;"><span class="idiff">iterator</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">it</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff">=</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">sinkWidgets</span></span><span class="p"><span class="idiff">.</span></span><span class="n" style="color: #333;"><span class="idiff">begin</span></span><span class="p"><span class="idiff">();</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">it</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff">!=</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">sinkWidgets</span></span><span class="p"><span class="idiff">.</span></span><span class="n" style="color: #333;"><span class="idiff">end</span></span><span class="p"><span class="idiff">();</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff">++</span></span><span class="n" style="color: #333;"><span class="idiff right">it</span></span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1268" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1268
</td>
<td class="diff-line-num new_line old" data-linenumber="1263" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1268" class="line" lang="cpp"> <span class="n" style="color: #333;">removeSink</span><span class="p">(</span><span class="n" style="color: #333;"><span class="idiff left right">it</span></span><span class="o" style="font-weight: 600;">-></span><span class="n" style="color: #333;">first</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1269" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1269
</td>
<td class="diff-line-num new_line old" data-linenumber="1263" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1269" class="line" lang="cpp"> <span class="k" style="font-weight: 600;"><span class="idiff left">for</span></span><span class="idiff"> </span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333;"><span class="idiff">std</span></span><span class="o" style="font-weight: 600;"><span class="idiff">::</span></span><span class="n" style="color: #333;"><span class="idiff">map</span></span><span class="o" style="font-weight: 600;"><span class="idiff"><</span></span><span class="kt" style="color: #458; font-weight: 600;"><span class="idiff">uint32_t</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">SourceWidget</span></span><span class="o" style="font-weight: 600;"><span class="idiff">*>::</span></span><span class="n" style="color: #333;"><span class="idiff">iterator</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">it</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff">=</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">sourceWidgets</span></span><span class="p"><span class="idiff">.</span></span><span class="n" style="color: #333;"><span class="idiff">begin</span></span><span class="p"><span class="idiff">();</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">it</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff">!=</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">sourceWidgets</span></span><span class="p"><span class="idiff">.</span></span><span class="n" style="color: #333;"><span class="idiff">end</span></span><span class="p"><span class="idiff">();</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff">++</span></span><span class="n" style="color: #333;"><span class="idiff right">it</span></span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1270" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1270
</td>
<td class="diff-line-num new_line old" data-linenumber="1263" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1270" class="line" lang="cpp"> <span class="n" style="color: #333;">removeSource</span><span class="p">(</span><span class="n" style="color: #333;"><span class="idiff left right">it</span></span><span class="o" style="font-weight: 600;">-></span><span class="n" style="color: #333;">first</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1271" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1271
</td>
<td class="diff-line-num new_line old" data-linenumber="1263" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1271" class="line" lang="cpp"> <span class="k" style="font-weight: 600;"><span class="idiff left">for</span></span><span class="idiff"> </span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333;"><span class="idiff">std</span></span><span class="o" style="font-weight: 600;"><span class="idiff">::</span></span><span class="n" style="color: #333;"><span class="idiff">map</span></span><span class="o" style="font-weight: 600;"><span class="idiff"><</span></span><span class="kt" style="color: #458; font-weight: 600;"><span class="idiff">uint32_t</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">CardWidget</span></span><span class="o" style="font-weight: 600;"><span class="idiff">*>::</span></span><span class="n" style="color: #333;"><span class="idiff">iterator</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">it</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff">=</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">cardWidgets</span></span><span class="p"><span class="idiff">.</span></span><span class="n" style="color: #333;"><span class="idiff">begin</span></span><span class="p"><span class="idiff">();</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">it</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff">!=</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">cardWidgets</span></span><span class="p"><span class="idiff">.</span></span><span class="n" style="color: #333;"><span class="idiff">end</span></span><span class="p"><span class="idiff">();</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff">++</span></span><span class="n" style="color: #333;"><span class="idiff right">it</span></span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1272" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1272
</td>
<td class="diff-line-num new_line old" data-linenumber="1263" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1272" class="line" lang="cpp"> <span class="n" style="color: #333;"><span class="idiff left">removeCard</span></span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333;"><span class="idiff right">it</span></span><span class="o" style="font-weight: 600;">-></span><span class="n" style="color: #333;">first</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1273" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1273
</td>
<td class="diff-line-num new_line old" data-linenumber="1263" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1273" class="line" lang="cpp"> <span class="k" style="font-weight: 600;"><span class="idiff left">for</span></span><span class="idiff"> </span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333;"><span class="idiff">std</span></span><span class="o" style="font-weight: 600;"><span class="idiff">::</span></span><span class="n" style="color: #333;"><span class="idiff">map</span></span><span class="o" style="font-weight: 600;"><span class="idiff"><</span></span><span class="kt" style="color: #458; font-weight: 600;"><span class="idiff">uint32_t</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="kt" style="color: #458; font-weight: 600;"><span class="idiff">char</span></span><span class="o" style="font-weight: 600;"><span class="idiff">*>::</span></span><span class="n" style="color: #333;"><span class="idiff">iterator</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">it</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff">=</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">clientNames</span></span><span class="p"><span class="idiff">.</span></span><span class="n" style="color: #333;"><span class="idiff">begin</span></span><span class="p"><span class="idiff">();</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">it</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff">!=</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">clientNames</span></span><span class="p"><span class="idiff">.</span></span><span class="n" style="color: #333;"><span class="idiff">end</span></span><span class="p"><span class="idiff">();</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff">++</span></span><span class="n" style="color: #333;"><span class="idiff right">it</span></span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1274" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1274
</td>
<td class="diff-line-num new_line old" data-linenumber="1263" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1274" class="line" lang="cpp"> <span class="n" style="color: #333;">removeClient</span><span class="p">(</span><span class="n" style="color: #333;"><span class="idiff left right">it</span></span><span class="o" style="font-weight: 600;">-></span><span class="n" style="color: #333;">first</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1263" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1263
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1263" class="line" lang="cpp"> <span class="k" style="font-weight: 600;"><span class="idiff left">while</span></span><span class="idiff"> </span><span class="p"><span class="idiff">(</span></span><span class="o" style="font-weight: 600;"><span class="idiff">!</span></span><span class="n" style="color: #333;"><span class="idiff">sinkInputWidgets</span></span><span class="p"><span class="idiff">.</span></span><span class="n" style="color: #333;"><span class="idiff">empty</span></span><span class="p"><span class="idiff right">()</span>)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1264" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1264
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1264" class="line" lang="cpp"> <span class="n" style="color: #333;">removeSinkInput</span><span class="p">(</span><span class="n" style="color: #333;"><span class="idiff left">sinkInputWidgets</span></span><span class="p"><span class="idiff">.</span></span><span class="n" style="color: #333;"><span class="idiff">begin</span></span><span class="p"><span class="idiff right">()</span></span><span class="o" style="font-weight: 600;">-></span><span class="n" style="color: #333;">first</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1265" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1265
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1265" class="line" lang="cpp"> <span class="k" style="font-weight: 600;"><span class="idiff left">while</span></span><span class="idiff"> </span><span class="p"><span class="idiff">(</span></span><span class="o" style="font-weight: 600;"><span class="idiff">!</span></span><span class="n" style="color: #333;"><span class="idiff">sourceOutputWidgets</span></span><span class="p"><span class="idiff">.</span></span><span class="n" style="color: #333;"><span class="idiff">empty</span></span><span class="p"><span class="idiff right">()</span>)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1266" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1266
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1266" class="line" lang="cpp"> <span class="n" style="color: #333;">removeSourceOutput</span><span class="p">(</span><span class="n" style="color: #333;"><span class="idiff left">sourceOutputWidgets</span></span><span class="p"><span class="idiff">.</span></span><span class="n" style="color: #333;"><span class="idiff">begin</span></span><span class="p"><span class="idiff right">()</span></span><span class="o" style="font-weight: 600;">-></span><span class="n" style="color: #333;">first</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1267" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1267
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1267" class="line" lang="cpp"> <span class="k" style="font-weight: 600;"><span class="idiff left">while</span></span><span class="idiff"> </span><span class="p"><span class="idiff">(</span></span><span class="o" style="font-weight: 600;"><span class="idiff">!</span></span><span class="n" style="color: #333;"><span class="idiff">sinkWidgets</span></span><span class="p"><span class="idiff">.</span></span><span class="n" style="color: #333;"><span class="idiff">empty</span></span><span class="p"><span class="idiff right">()</span>)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1268" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1268
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1268" class="line" lang="cpp"> <span class="n" style="color: #333;">removeSink</span><span class="p">(</span><span class="n" style="color: #333;"><span class="idiff left">sinkWidgets</span></span><span class="p"><span class="idiff">.</span></span><span class="n" style="color: #333;"><span class="idiff">begin</span></span><span class="p"><span class="idiff right">()</span></span><span class="o" style="font-weight: 600;">-></span><span class="n" style="color: #333;">first</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1269" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1269
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1269" class="line" lang="cpp"> <span class="k" style="font-weight: 600;"><span class="idiff left">while</span></span><span class="idiff"> </span><span class="p"><span class="idiff">(</span></span><span class="o" style="font-weight: 600;"><span class="idiff">!</span></span><span class="n" style="color: #333;"><span class="idiff">sourceWidgets</span></span><span class="p"><span class="idiff">.</span></span><span class="n" style="color: #333;"><span class="idiff">empty</span></span><span class="p"><span class="idiff right">()</span>)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1270" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1270
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1270" class="line" lang="cpp"> <span class="n" style="color: #333;">removeSource</span><span class="p">(</span><span class="n" style="color: #333;"><span class="idiff left">sourceWidgets</span></span><span class="p"><span class="idiff">.</span></span><span class="n" style="color: #333;"><span class="idiff">begin</span></span><span class="p"><span class="idiff right">()</span></span><span class="o" style="font-weight: 600;">-></span><span class="n" style="color: #333;">first</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1271" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1271
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1271" class="line" lang="cpp"> <span class="k" style="font-weight: 600;"><span class="idiff left">while</span></span><span class="idiff"> </span><span class="p"><span class="idiff">(</span></span><span class="o" style="font-weight: 600;"><span class="idiff">!</span></span><span class="n" style="color: #333;"><span class="idiff">cardWidgets</span></span><span class="p"><span class="idiff">.</span></span><span class="n" style="color: #333;"><span class="idiff">empty</span></span><span class="p"><span class="idiff right">()</span>)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1272" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1272
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1272" class="line" lang="cpp"> <span class="idiff left"> </span><span class="n" style="color: #333;"><span class="idiff">removeCard</span></span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333;"><span class="idiff">cardWidgets</span></span><span class="p"><span class="idiff">.</span></span><span class="n" style="color: #333;"><span class="idiff">begin</span></span><span class="p"><span class="idiff right">()</span></span><span class="o" style="font-weight: 600;">-></span><span class="n" style="color: #333;">first</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1273" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1273
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1273" class="line" lang="cpp"> <span class="k" style="font-weight: 600;"><span class="idiff left">while</span></span><span class="idiff"> </span><span class="p"><span class="idiff">(</span></span><span class="o" style="font-weight: 600;"><span class="idiff">!</span></span><span class="n" style="color: #333;"><span class="idiff">clientNames</span></span><span class="p"><span class="idiff">.</span></span><span class="n" style="color: #333;"><span class="idiff">empty</span></span><span class="p"><span class="idiff right">()</span>)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="1274" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1274
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1274" class="line" lang="cpp"> <span class="n" style="color: #333;">removeClient</span><span class="p">(</span><span class="n" style="color: #333;"><span class="idiff left">clientNames</span></span><span class="p"><span class="idiff">.</span></span><span class="n" style="color: #333;"><span class="idiff">begin</span></span><span class="p"><span class="idiff right">()</span></span><span class="o" style="font-weight: 600;">-></span><span class="n" style="color: #333;">first</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1275
</td>
<td class="diff-line-num new_line" data-linenumber="1275" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1275
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1275" class="line" lang="cpp"> <span class="n" style="color: #333;">deleteEventRoleWidget</span><span class="p">();</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1276" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1276
</td>
<td class="diff-line-num new_line" data-linenumber="1276" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1276
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1276" class="line" lang="cpp"><span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1277" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1277
</td>
<td class="diff-line-num new_line" data-linenumber="1277" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1277
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1277" class="line" lang="cpp"></span>
</pre>
</td>
</tr>
</table>
<br>
</li>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #666;">
—
<br>
<a href="https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/commit/381b708202e87e40347a57f8a627014199cde266">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.freedesktop.org.
If you'd like to receive fewer emails, you can
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/commit/381b708202e87e40347a57f8a627014199cde266"}}</script>
</p>
</div>
</body>
</html>