<p><b>@LarsGit223</b> requested changes on this pull request.</p>

<p>Apart from the two little remarks, it looks good to me.</p><hr>

<p>In <a href="https://github.com/geany/geany-plugins/pull/927#discussion_r334266882">treebrowser/src/treebrowser.c</a>:</p>
<pre style='color:#555'>> -    GtkIconSet *icon_set;
-
-       icon_set = gtk_icon_factory_lookup_default(stock_id);
-
-       if (icon_set)
-               return gtk_icon_set_render_icon(icon_set, gtk_widget_get_default_style(),
-                                                                               gtk_widget_get_default_direction(),
-                                                                               GTK_STATE_NORMAL, GTK_ICON_SIZE_MENU, NULL, NULL);
-       return NULL;
-}
-#endif
-
-static GdkPixbuf *
-utils_pixbuf_from_path(gchar *path)
+static GIcon *
+utils_gicon_from_path(gchar *path)
</pre>
<p>The parameter path could be const.</p>

<hr>

<p>In <a href="https://github.com/geany/geany-plugins/pull/927#discussion_r334266957">treebrowser/src/treebrowser.c</a>:</p>
<pre style='color:#555'>>  
        ctype = g_content_type_guess(path, NULL, 0, NULL);
        icon = g_content_type_get_icon(ctype);
        g_free(ctype);
 
        if (icon != NULL)
        {
-               gtk_icon_size_lookup(GTK_ICON_SIZE_MENU, &width, NULL);
-               info = gtk_icon_theme_lookup_by_gicon(gtk_icon_theme_get_default(), icon, width, GTK_ICON_LOOKUP_USE_BUILTIN);
-               g_object_unref(icon);
+               info = gtk_icon_theme_lookup_by_gicon(gtk_icon_theme_get_default(), icon, 16, 0);
</pre>
<p>What is usually used for icon sizes? You entered 16 but what about using a gtk constant like before?</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-plugins/pull/927?email_source=notifications&email_token=AAIOWJ5DXWWJWQNSL6C4DTTQOLHQFA5CNFSM4JAEQCYKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCHYXMEI#pullrequestreview-301037073">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ4PUO6YRZ4WLOUJKXTQOLHQFANCNFSM4JAEQCYA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ4CYP423JV7QHNGESDQOLHQFA5CNFSM4JAEQCYKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCHYXMEI.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-plugins/pull/927?email_source=notifications\u0026email_token=AAIOWJ5DXWWJWQNSL6C4DTTQOLHQFA5CNFSM4JAEQCYKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCHYXMEI#pullrequestreview-301037073",
"url": "https://github.com/geany/geany-plugins/pull/927?email_source=notifications\u0026email_token=AAIOWJ5DXWWJWQNSL6C4DTTQOLHQFA5CNFSM4JAEQCYKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCHYXMEI#pullrequestreview-301037073",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>