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/gtk-win32.rc.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/gtk-win32.rc.in')
-rw-r--r-- | gtk/gtk-win32.rc.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtk-win32.rc.in b/gtk/gtk-win32.rc.in index 4a42d5a666..dc9464a2c1 100644 --- a/gtk/gtk-win32.rc.in +++ b/gtk/gtk-win32.rc.in @@ -28,3 +28,4 @@ VS_VERSION_INFO VERSIONINFO VALUE "Translation", 0x409, 1200 END END +ISOLATIONAWARE_MANIFEST_RESOURCE_ID RT_MANIFEST libgtk3.manifest |