GNOME Bugzilla – Bug 722817
Add gobject-introspection for GdkWin32
Last modified: 2014-04-04 10:39:17 UTC
Introspection is built for X11 backend of GDK, but not for the W32 backend.
Created attachment 267020 [details] [review] Builds introspection for gdkwin32 (gtk3) This works for gtk+-3.0-3.11.4. I have a gtk2 version, if anyone is interested.
Created attachment 267021 [details] [review] give CC environment variable to the gir scanner gir scanner runs CC, make sure it gets the right one.
Created attachment 267022 [details] [review] Put GTK DLL into PATH for the scanner gir builds a program that is linked to gtk, then runs it. It needs gtk to be in PATH to work correctly.
Created attachment 273182 [details] [review] Introspection for gdk-win32
Created attachment 273183 [details] [review] Give CC to instrospection scanner Introspection scanner-generation script gets compiler from the CC environment, we need to set it.
The DLL PATH patch seems to be unnecessary these days, which is good, i've always thought it to be a bit too hacky.
Created attachment 273395 [details] [review] Introspection for gdk-win32 (v2, fixed whitespace)
Review of attachment 273395 [details] [review]: See the comment. ::: gdk/Makefile.am @@ +276,3 @@ +if OS_WIN32 +w32_introspection_files = \ + win32/gdkcursor-win32.c \ see that in the rest of the file all the \ are aligned using tabs, I think we should do the same here.
Created attachment 273396 [details] [review] Introspection for gdk-win32 (v2, REALLY fixed whitespace this time)
Review of attachment 273396 [details] [review]: Looks good.
Attachment 273396 [details] pushed as 4b80aa1 - Introspection for gdk-win32 Attachment 273183 [details] pushed as 0d53a58 - Give CC to instrospection scanner