Branch: refs/heads/master Author: Matthew Brush matt@geany.org Committer: Matthew Brush matt@geany.org Date: Wed, 06 May 2015 23:38:45 UTC Commit: 1f08a3668cf86abde9942c1d11437e05a9a48438 https://github.com/geany/geany-plugins/commit/1f08a3668cf86abde9942c1d11437e...
Log Message: ----------- Overview: Update fixes from upstream repo
* Add guard to not depend on too new Cairo version * Add guard to allow building with older Geany versions
Closes #222 #227
Modified Paths: -------------- overview/overview/overviewplugin.c overview/overview/overviewscintilla.c
Modified: overview/overview/overviewplugin.c 7 lines changed, 7 insertions(+), 0 deletions(-) =================================================================== @@ -35,7 +35,14 @@ GeanyPlugin *geany_plugin; GeanyData *geany_data; GeanyFunctions *geany_functions;
+/* scintilla_get_type() is needed but was only added to the API in 224, but + * previous versions will still work on Linux since it's before the symbol + * linkage was fixed up. TODO: remove this after next Geany release. */ +#if GEANY_API_VERSION >= 224 PLUGIN_VERSION_CHECK (224) +#else +PLUGIN_VERSION_CHECK (211) +#endif
PLUGIN_SET_INFO ( "Overview",
Modified: overview/overview/overviewscintilla.c 3 lines changed, 3 insertions(+), 0 deletions(-) =================================================================== @@ -267,7 +267,10 @@ overview_scintilla_draw_real (OverviewScintilla *self, cairo_save (cr);
cairo_set_line_width (cr, 1.0); + +#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 12, 0) cairo_set_antialias (cr, CAIRO_ANTIALIAS_GOOD); +#endif
if (self->overlay_inverted) {
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org