
Untitled
By: a guest on
Jun 8th, 2010 | syntax:
C++ | size: 0.56 KB | views:
80 | expires: Never
66 // Flash has problems receiving clicks with newer GTKs due to the
67 // client-side windows change. To be safe, we just always set the
68 // backwards-compat environment variable.
69 setenv("GDK_NATIVE_WINDOWS", "1", 1);
70
71 gtk_init(&argc, &argv_pointer);
72
73 // GTK after 2.18 resets the environment variable. But if we're using
74 // nspluginwrapper, that means it'll spawn its subprocess without the
75 // environment variable! So set it again.
76 setenv("GDK_NATIVE_WINDOWS", "1", 1);
77