<p>The GLib docs say: "Typically, format should end with its own new-line character":<br>
<a rel="nofollow" href="https://developer.gnome.org/glib/stable/glib-Warnings-and-Assertions.html#g-print">https://developer.gnome.org/glib/stable/glib-Warnings-and-Assertions.html#g-print</a></p>
<ul>
<li>Not including a newline is more flexible as the caller can conditionally print part of a line, then the remaining part and a newline.</li>
<li>Almost all the uses of g_print and g_printerr in geany and geany-plugins already include a newline at the end of <code>msg</code>. Printing two newlines is annoying.</li>
<li>This adds a newline for the remaining cases in geany.</li>
<li>I have a pull ready for geany-plugins, will edit this line when submitted. Only needed to change one line.</li>
</ul>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany/pull/2309'>https://github.com/geany/geany/pull/2309</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>g_print handler: Don't add newline</li>
  <li>g_printerr handler: Don't add newline</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2309/files#diff-0">src/log.c</a>
    (8)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2309/files#diff-1">src/pluginutils.c</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2309/files#diff-2">src/tagmanager/tm_workspace.c</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2309/files#diff-3">src/utils.c</a>
    (4)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany/pull/2309.patch'>https://github.com/geany/geany/pull/2309.patch</a></li>
  <li><a href='https://github.com/geany/geany/pull/2309.diff'>https://github.com/geany/geany/pull/2309.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2309?email_source=notifications&email_token=AAIOWJ2E2KT6RO5LHBEXPSLQKZBQRA5CNFSM4IY6XNUKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HM2T3HA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ5ILR4ZLNRTMON76NDQKZBQRANCNFSM4IY6XNUA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ2WGVQ2UJNSN4MGG3TQKZBQRA5CNFSM4IY6XNUKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HM2T3HA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2309?email_source=notifications\u0026email_token=AAIOWJ2E2KT6RO5LHBEXPSLQKZBQRA5CNFSM4IY6XNUKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HM2T3HA",
"url": "https://github.com/geany/geany/pull/2309?email_source=notifications\u0026email_token=AAIOWJ2E2KT6RO5LHBEXPSLQKZBQRA5CNFSM4IY6XNUKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HM2T3HA",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>