Geany depends on Gtk version 2.24 so all version checks for a lower version than 2.24 are needless. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/723
-- Commit Summary --
* treebrowser: removed needless Gtk version checks
-- File Changes --
M treebrowser/src/treebrowser.c (25)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/723.patch https://github.com/geany/geany-plugins/pull/723.diff
Merged #723.
codebrainz commented on this pull request.
@@ -138,11 +138,7 @@ PLUGIN_SET_TRANSLATABLE_INFO(
static GList* _gtk_cell_layout_get_cells(GtkTreeViewColumn *column) { -#if GTK_CHECK_VERSION(2, 12, 0)
Why not remove this whole function? It looks like it was only added for backwards compatibility pre-2.12, and has a confusing name.
LarsGit223 commented on this pull request.
@@ -138,11 +138,7 @@ PLUGIN_SET_TRANSLATABLE_INFO(
static GList* _gtk_cell_layout_get_cells(GtkTreeViewColumn *column) { -#if GTK_CHECK_VERSION(2, 12, 0)
Done in #725.
github-comments@lists.geany.org