<!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>
Arun Raghavan 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/4f31ec83a8226301336879a36d16b0283abca212">4f31ec83</a></strong>
<div>
<span>by Christoph Haag</span>
<i>at 2019-12-22T05:57:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">mainwindow: escape nameLabel
Fixes a warning with the 'Valve VR Radio & HMD Mic' device.
</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/4f31ec83a8226301336879a36d16b0283abca212#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="374" 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="374" 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">@@ -374,7 +374,9 @@ void MainWindow::updateCard(const pa_card_info &info) {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="374" 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">
374
</td>
<td class="diff-line-num new_line" data-linenumber="374" 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">
374
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC374" 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="375" 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">
375
</td>
<td class="diff-line-num new_line" data-linenumber="375" 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">
375
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC375" class="line" lang="cpp"> <span class="n" style="color: #333;">description</span> <span class="o" style="font-weight: 600;">=</span> <span class="n" style="color: #333;">pa_proplist_gets</span><span class="p">(</span><span class="n" style="color: #333;">info</span><span class="p">.</span><span class="n" style="color: #333;">proplist</span><span class="p">,</span> <span class="n" style="color: #333;">PA_PROP_DEVICE_DESCRIPTION</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="376" 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">
376
</td>
<td class="diff-line-num new_line" data-linenumber="376" 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">
376
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC376" class="line" lang="cpp"> <span class="n" style="color: #333;">w</span><span class="o" style="font-weight: 600;">-></span><span class="n" style="color: #333;">name</span> <span class="o" style="font-weight: 600;">=</span> <span class="n" style="color: #333;">description</span> <span class="o" style="font-weight: 600;">?</span> <span class="n" style="color: #333;">description</span> <span class="o" style="font-weight: 600;">:</span> <span class="n" style="color: #333;">info</span><span class="p">.</span><span class="n" style="color: #333;">name</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="377" 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">
377
</td>
<td class="diff-line-num new_line old" data-linenumber="377" 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="LC377" class="line" lang="cpp"> <span class="n" style="color: #333;">w</span><span class="o" style="font-weight: 600;">-></span><span class="n" style="color: #333;">nameLabel</span><span class="o" style="font-weight: 600;">-></span><span class="n" style="color: #333;">set_markup</span><span class="p">(</span><span class="n" style="color: #333;">w</span><span class="o" style="font-weight: 600;">-></span><span class="n" style="color: #333;">name</span><span class="p">.</span><span class="n" style="color: #333;">c_str</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="378" 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="377" 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">
377
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC377" class="line" lang="cpp"> <span class="n" style="color: #333;">gchar</span> <span class="o" style="font-weight: 600;">*</span><span class="n" style="color: #333;">txt</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="378" 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="378" 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">
378
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC378" class="line" lang="cpp"> <span class="n" style="color: #333;">w</span><span class="o" style="font-weight: 600;">-></span><span class="n" style="color: #333;">nameLabel</span><span class="o" style="font-weight: 600;">-></span><span class="n" style="color: #333;">set_markup</span><span class="p">(</span><span class="n" style="color: #333;">txt</span> <span class="o" style="font-weight: 600;">=</span> <span class="n" style="color: #333;">g_markup_printf_escaped</span><span class="p">(</span><span class="s" style="color: #d14;">"%s"</span><span class="p">,</span> <span class="n" style="color: #333;">w</span><span class="o" style="font-weight: 600;">-></span><span class="n" style="color: #333;">name</span><span class="p">.</span><span class="n" style="color: #333;">c_str</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="378" 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="379" 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">
379
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC379" class="line" lang="cpp"> <span class="n" style="color: #333;">g_free</span><span class="p">(</span><span class="n" style="color: #333;">txt</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="378" 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">
378
</td>
<td class="diff-line-num new_line" data-linenumber="380" 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">
380
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC380" 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="379" 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">
379
</td>
<td class="diff-line-num new_line" data-linenumber="381" 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">
381
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC381" class="line" lang="cpp"> <span class="n" style="color: #333;">icon</span> <span class="o" style="font-weight: 600;">=</span> <span class="n" style="color: #333;">pa_proplist_gets</span><span class="p">(</span><span class="n" style="color: #333;">info</span><span class="p">.</span><span class="n" style="color: #333;">proplist</span><span class="p">,</span> <span class="n" style="color: #333;">PA_PROP_DEVICE_ICON_NAME</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="380" 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">
380
</td>
<td class="diff-line-num new_line" data-linenumber="382" 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">
382
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC382" class="line" lang="cpp"> <span class="n" style="color: #333;">set_icon_name_fallback</span><span class="p">(</span><span class="n" style="color: #333;">w</span><span class="o" style="font-weight: 600;">-></span><span class="n" style="color: #333;">iconImage</span><span class="p">,</span> <span class="n" style="color: #333;">icon</span> <span class="o" style="font-weight: 600;">?</span> <span class="n" style="color: #333;">icon</span> <span class="o" style="font-weight: 600;">:</span> <span class="s" style="color: #d14;">"audio-card"</span><span class="p">,</span> <span class="n" style="color: #333;">Gtk</span><span class="o" style="font-weight: 600;">::</span><span class="n" style="color: #333;">ICON_SIZE_SMALL_TOOLBAR</span><span class="p">);</span></span>
</pre>
</td>
</tr>
</table>
<br>
</li>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">
—
<br>
<a href="https://gitlab.freedesktop.org/pulseaudio/pavucontrol/commit/4f31ec83a8226301336879a36d16b0283abca212">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/4f31ec83a8226301336879a36d16b0283abca212"}}</script>
</p>
</div>
</body>
</html>