<p><b>@b4n</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany/pull/1703#discussion_r154513324">src/ui_utils.c</a>:</p>
<pre style='color:#555'>> @@ -42,6 +42,7 @@
 #include "msgwindow.h"
 #include "prefs.h"
 #include "project.h"
+#include "resources.h"
</pre>
<p>not needed</p>

<hr>

<p>In <a href="https://github.com/geany/geany/pull/1703#discussion_r154514365">src/Makefile.am</a>:</p>
<pre style='color:#555'>> +            --target=$@ \
+               --sourcedir=$(srcdir) \
+               --generate-source \
+               --c-name="geany" \
+               --manual-register \
+               --internal \
+                       $(srcdir)/geany.gresource.xml
+resources.h: $(resource_dependencies)
+       $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) \
+               --target=$@ \
+               --sourcedir=$(srcdir) \
+               --generate-header \
+               --c-name="geany" \
+               --manual-register \
+               --internal \
+                       $(srcdir)/geany.gresource.xml
</pre>
<p>Hum, maybe you need to add something like <code>|| rm -f $@</code> (but you need to still return in error) so that if the generation fails for some reason it will be tried again next time.  Another common solution is to generate a temporary file and move it over on success, so it's mostly atomic.</p>

<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/1703#pullrequestreview-80691373">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJyxmbUpsr9HtHyUGqyOqJjDjKjOAks5s8i5hgaJpZM4QzP2F">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ6VdZoI-92tbJJBsJYpdvKpEkQpCks5s8i5hgaJpZM4QzP2F.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/1703#pullrequestreview-80691373"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@b4n commented on #1703"}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany/pull/1703#pullrequestreview-80691373"}}}</script>