Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jun 8th, 2010  |  syntax: C++  |  size: 0.56 KB  |  views: 80  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.   66     // Flash has problems receiving clicks with newer GTKs due to the
  2.   67     // client-side windows change.  To be safe, we just always set the
  3.   68     // backwards-compat environment variable.
  4.   69     setenv("GDK_NATIVE_WINDOWS", "1", 1);
  5.   70
  6.   71     gtk_init(&argc, &argv_pointer);
  7.   72
  8.   73     // GTK after 2.18 resets the environment variable.  But if we're using
  9.   74     // nspluginwrapper, that means it'll spawn its subprocess without the
  10.   75     // environment variable!  So set it again.
  11.   76     setenv("GDK_NATIVE_WINDOWS", "1", 1);
  12.   77
clone this paste RAW Paste Data