[Github-comments] [geany/geany] WIP: Remove GTK+2 Support (#2602)

Colomban Wendling notifications at xxxxx
Mon Nov 2 21:30:12 UTC 2020


@b4n commented on this pull request.



> @@ -60,9 +60,9 @@ G_BEGIN_DECLS
  */
 #define GEANY_API_VERSION 239
 
-
-/* when gtk2 and gtk3 were both supported at the same time this was used
- * to prevent loading gtk2 plugins with gtk3 Geany or vice versa. */
+/* hack to have a different ABI when built with different GTK major versions
+ * because loading plugins linked to a different one leads to crashes.
+ * Only GTK3 is currently supported. */

Yes.  We could actually make that smaller from past experience but I figure we've got a whole bunch of values left above 18432 so that we can spare 1024 ranges.  That would get us to GTK 49 before reaching a mere 16 bits worth of values.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2602#discussion_r516265110
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20201102/229908af/attachment.htm>


More information about the Github-comments mailing list