Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=148766#19
Author: Antoine Martin <antoine@devloop.org.uk>
Description: Debian has buggy gtk headers, so we have to disable strict checking.
~~~~
 In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0,
                  from /usr/include/pygtk-2.0/pygtk/pygtk.h:8,
                  from xpra/x11/gtk2/gdk_display_source.c:297:
 /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: error: function declaration isn't a prototype [-Werror=strict-prototypes]
  typedef void (*GtkItemFactoryCallback)  ();
  ^
~~~~

--- a/setup.py
+++ b/setup.py
@@ -666,9 +666,9 @@
                         #CentOS 6.x gives us some invalid warnings in nvenc, ignore those:
                         #"-Wno-error=uninitialized",
                         #needed on Debian and Ubuntu to avoid this error:
                         #/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: error: function declaration isn't a prototype [-Werror=strict-prototypes]
-                        #"-Wno-error=strict-prototypes",
+                        "-Wno-error=strict-prototypes",
                         ]
                 if sys.platform.startswith("netbsd"):
                     #see: http://trac.cython.org/ticket/395
                     eifd += ["-fno-strict-aliasing"]
