<p>This pull request is heavily based on <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="273088909" data-permission-text="Issue title is private" data-url="https://github.com/geany/geany-plugins/issues/645" data-hovercard-type="pull_request" data-hovercard-url="/geany/geany-plugins/pull/645/hovercard" href="https://github.com/geany/geany-plugins/pull/645">#645</a> from which it borrows the majority of the changes.<br>
The main improvement is that this one doesn't break compatibility with GTK2 (there are macros which select the correct code path accordingly).<br>
I also removed some cosmetic-only changes to maintain the differences as small as possible and provided a corrected code for console font selection (which was just commented out in the original pull request).</p>
<p>This was successfully tested on Centos 7.5 with stock development packages.</p>

<hr>

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

<h4>Commit Summary</h4>
<ul>
  <li>Ported the 'Debugger' plugin to GTK3 while maintaining compatibility with GTK2.</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/791/files#diff-0">build/debugger.m4</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/791/files#diff-1">debugger/src/btnpanel.c</a>
    (25)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/791/files#diff-2">debugger/src/cell_renderers/cellrendererbreakicon.c</a>
    (73)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/791/files#diff-3">debugger/src/cell_renderers/cellrendererbreakicon.h</a>
    (11)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/791/files#diff-4">debugger/src/cell_renderers/cellrendererframeicon.c</a>
    (62)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/791/files#diff-5">debugger/src/cell_renderers/cellrendererframeicon.h</a>
    (7)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/791/files#diff-6">debugger/src/cell_renderers/cellrenderertoggle.c</a>
    (9)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/791/files#diff-7">debugger/src/dconfig.c</a>
    (68)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/791/files#diff-8">debugger/src/debug.c</a>
    (49)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/791/files#diff-9">debugger/src/dpaned.c</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/791/files#diff-10">debugger/src/gui.c</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/791/files#diff-11">debugger/src/plugin.c</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/791/files#diff-12">debugger/src/stree.c</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/791/files#diff-13">debugger/src/tpage.c</a>
    (84)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany-plugins/pull/791.patch'>https://github.com/geany/geany-plugins/pull/791.patch</a></li>
  <li><a href='https://github.com/geany/geany-plugins/pull/791.diff'>https://github.com/geany/geany-plugins/pull/791.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-plugins/pull/791">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ7RcG_1N5K0nnwNErPR6eg9c4JDzks5uxCylgaJpZM4YrdeP">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJz4wz2F3_nSB7XV5CTSQ_KJ1A7kgks5uxCylgaJpZM4YrdeP.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany-plugins","title":"geany/geany-plugins","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany-plugins"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"'Debugger' plugin port to GTK3 with GTK2 compatibility (#791)"}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany-plugins/pull/791"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany-plugins/pull/791",
"url": "https://github.com/geany/geany-plugins/pull/791",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "'Debugger' plugin port to GTK3 with GTK2 compatibility (#791)",
"sections": [
{
"text": "",
"activityTitle": "**Benjamin Gaillard**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@bxgaillard",
"facts": [

]
},
{
"title": "Commit Summary",
"facts": [
{
"name": "d133cfb",
"value": "Ported the 'Debugger' plugin to GTK3 while maintaining compatibility with GTK2."
}
]
},
{
"title": "File Changes",
"facts": [
{
"name": "Modified",
"value": "[build/debugger.m4](https://github.com/geany/geany-plugins/pull/791/files#diff-0) (5 changes)"
},
{
"name": "Modified",
"value": "[debugger/src/btnpanel.c](https://github.com/geany/geany-plugins/pull/791/files#diff-1) (25 changes)"
},
{
"name": "Modified",
"value": "[debugger/src/cell_renderers/cellrendererbreakicon.c](https://github.com/geany/geany-plugins/pull/791/files#diff-2) (73 changes)"
},
{
"name": "Modified",
"value": "[debugger/src/cell_renderers/cellrendererbreakicon.h](https://github.com/geany/geany-plugins/pull/791/files#diff-3) (11 changes)"
},
{
"name": "Modified",
"value": "[debugger/src/cell_renderers/cellrendererframeicon.c](https://github.com/geany/geany-plugins/pull/791/files#diff-4) (62 changes)"
},
{
"name": "Modified",
"value": "[debugger/src/cell_renderers/cellrendererframeicon.h](https://github.com/geany/geany-plugins/pull/791/files#diff-5) (7 changes)"
},
{
"name": "Modified",
"value": "[debugger/src/cell_renderers/cellrenderertoggle.c](https://github.com/geany/geany-plugins/pull/791/files#diff-6) (9 changes)"
},
{
"name": "Modified",
"value": "[debugger/src/dconfig.c](https://github.com/geany/geany-plugins/pull/791/files#diff-7) (68 changes)"
},
{
"name": "Modified",
"value": "[debugger/src/debug.c](https://github.com/geany/geany-plugins/pull/791/files#diff-8) (49 changes)"
},
{
"name": "Modified",
"value": "[debugger/src/dpaned.c](https://github.com/geany/geany-plugins/pull/791/files#diff-9) (6 changes)"
},
{
"name": "Modified",
"value": "[debugger/src/gui.c](https://github.com/geany/geany-plugins/pull/791/files#diff-10) (4 changes)"
},
{
"name": "Modified",
"value": "[debugger/src/plugin.c](https://github.com/geany/geany-plugins/pull/791/files#diff-11) (4 changes)"
},
{
"name": "Modified",
"value": "[debugger/src/stree.c](https://github.com/geany/geany-plugins/pull/791/files#diff-12) (4 changes)"
},
{
"name": "Modified",
"value": "[debugger/src/tpage.c](https://github.com/geany/geany-plugins/pull/791/files#diff-13) (84 changes)"
}
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"geany/geany-plugins\",\n\"issueId\": 791,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close pull request",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"PullRequestClose\",\n\"repositoryFullName\": \"geany/geany-plugins\",\n\"pullRequestId\": 791\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/geany/geany-plugins/pull/791"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/geany/geany-plugins/pull/791.patch"
}
],
"@type": "OpenUri",
"name": "View patch"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/geany/geany-plugins/pull/791.diff"
}
],
"@type": "OpenUri",
"name": "View diff"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 414046095\n}"
}
],
"themeColor": "26292E"
}
]</script>