diff options
author | Руслан Ижбулатов <lrn1986@gmail.com> | 2014-07-29 08:18:32 +0000 |
---|---|---|
committer | Руслан Ижбулатов <lrn1986@gmail.com> | 2014-08-05 06:41:31 +0000 |
commit | 0d02cc8203e1a43506c0e81f392492aedadb6fa3 (patch) | |
tree | bd52cdc4add8c43b7aad0017ba54ed432b50ea2a /gtk/libgtk3.manifest.in | |
parent | 31d08bd85e312ba05b7890b403c8a50cfdf52c4f (diff) | |
download | gtk+-0d02cc8203e1a43506c0e81f392492aedadb6fa3.tar.gz |
Make sure native W32 print dialog uses visual styles
For that to happen the libgtk3 is embedded with a manifest that requests
common controls library 6.x, and GTK lazily calls InitCommonControlsEx()
to initialize those. Then this manifest is used to temporarily override
the process activation contest when loading comdlg32 (which contains the
code for the print dialog), ensuring that it too depends on common
controls 6.x, even if the application that uses GTK does not.
https://bugzilla.gnome.org/show_bug.cgi?id=733773
Diffstat (limited to 'gtk/libgtk3.manifest.in')
-rw-r--r-- | gtk/libgtk3.manifest.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gtk/libgtk3.manifest.in b/gtk/libgtk3.manifest.in new file mode 100644 index 0000000000..6e1677eb1f --- /dev/null +++ b/gtk/libgtk3.manifest.in @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> + <assemblyIdentity + version="1.0.0.0" + processorArchitecture="@EXE_MANIFEST_ARCHITECTURE@" + name="libgtk3" + type="win32" + /> + <dependency> + <dependentAssembly> + <assemblyIdentity + type="win32" + name="Microsoft.Windows.Common-Controls" + version="6.0.0.0" + processorArchitecture="@EXE_MANIFEST_ARCHITECTURE@" + publicKeyToken="6595b64144ccf1df" + language="*" + /> + </dependentAssembly> + </dependency> +</assembly> |