GNOME Bugzilla – Bug 631088
Bind nsview/nswindow attributes
Last modified: 2010-10-15 14:53:19 UTC
Created attachment 171484 [details] [review] Implement nsview/nswindow attribute wrapping When using the gdk-quartz backend, the nsview and nswindow properties are needed to embed windows into the interface. Here is a patch that wraps the get_nsview/get_nswindow functions as nsview/nswindow attributes (similar to the existing xid and handle attributes). One thing missing from this patch is the addition of -ObjC option to CFLAGS (because of the inclusion of AppKit.h). The right way IMHO would be to have it in gtk+ pkg-config. Should I file a bug against gtk+/quartz ?
(In reply to comment #0) > Created an attachment (id=171484) [details] [review] > Implement nsview/nswindow attribute wrapping > > When using the gdk-quartz backend, the nsview and nswindow properties are > needed to embed windows into the interface. Here is a patch that wraps the > get_nsview/get_nswindow functions as nsview/nswindow attributes (similar to the > existing xid and handle attributes). Thanks, patch committed. > One thing missing from this patch is the addition of -ObjC option to CFLAGS > (because of the inclusion of AppKit.h). The right way IMHO would be to have it > in gtk+ pkg-config. Should I file a bug against gtk+/quartz ? Yes please.
For reference, bug 632221 filed against gtk+/quartz