i-rinat / freshplayerplugin

ppapi2npapi compatibility layer
MIT License
728 stars 52 forks source link

GTK+ version-agnostic operation #336

Closed i-rinat closed 8 years ago

i-rinat commented 8 years ago

Currently freshwrapper is linked to GTK+ 2 by default, but has an option to link with GTK+ 3.

Rather than linking directly to a particular GTK+ version, try to determine loaded version at run time and get appropriate functions dynamically. That should make freshplayerplugin work in any app, regardless of GTK+ version they use.

i-rinat commented 8 years ago

That should fix #335, and prevent other similar bugs.

i-rinat commented 8 years ago

Implemented in 782478c6c8571e53a500436853f7ea51eb6da99a.