-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only cache gtk version check result if Gtk is loaded
If in a dynamical program (e.g. using python-gi) Glib is loaded before Gtk, then the Gtk version check is executed before Gtk is even loaded, returning FALSE and caching it. This will not disable CSD if Gtk is loaded later. To circumvent this, cache the value only if we know that Gtk is loaded. Fixes github issue #16.
- Loading branch information
Showing
2 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters