After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 405915 - gdkquartz.h should be publicly available
gdkquartz.h should be publicly available
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Quartz
2.10.x
Other All
: Normal normal
: ---
Assigned To: gtk-quartz maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-02-08 22:19 UTC by Taybin Rutkin
Modified: 2007-12-10 20:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
update to Makefile.am so that gdkquartz.h is installed. (296 bytes, patch)
2007-02-08 22:20 UTC, Taybin Rutkin
none Details | Review
updated diff that includes updates to gdkquartz.h so it conditionally includes headers (728 bytes, patch)
2007-02-08 22:29 UTC, Taybin Rutkin
none Details | Review

Description Taybin Rutkin 2007-02-08 22:19:39 UTC
Please describe the problem:
Just like gdkx.h is installed so that a program can access the X11 internals, gdkquartz.h should be installed so the NSViews can be accessed.

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Taybin Rutkin 2007-02-08 22:20:33 UTC
Created attachment 82186 [details] [review]
update to Makefile.am so that gdkquartz.h is installed.
Comment 2 Taybin Rutkin 2007-02-08 22:29:47 UTC
Created attachment 82188 [details] [review]
updated diff that includes updates to gdkquartz.h so it conditionally includes headers

#ifdef GDK_COMPILATION
#include "gdkprivate-quartz.h"
#include "gdkdrawable-quartz.h"
#include "gdkwindow-quartz.h"
#endif
Comment 3 Richard Hult 2007-02-09 07:41:27 UTC
We could do that, BUT, the internals are not set in stone and will most likely change, so I'm not convinced it's a good idea. What do you need the view for, maybe there is a way to do what you want through the public API?
Comment 4 Taybin Rutkin 2007-02-09 14:57:20 UTC
One future feature we'd like to add is AudioUnits.  I was thinking it'd be neat if we could embed the AudioUnit NSView inside a Gtk Window.
Comment 5 Richard Hult 2007-05-18 07:32:07 UTC
Hm, I don't think you could do that by poking at the private internals of a gdkwindow though. You'd probably have to write your own GtkWidget that can swallow an NSView, handling events across the two systems etc.
Comment 6 Richard Hult 2007-11-03 09:48:56 UTC
The header file only exposes non-private things now so the second patch is not needed anymore.
Comment 7 Richard Hult 2007-12-10 20:47:16 UTC
I've committed a similar patch from Paul, I had forgotten we had this bug open here.