forked from AuroraMiddleware/gtk
Install backend specific header (bug #405915). Also add a getter for the
2007-12-10 Richard Hult <richard@imendio.com> * gdk/quartz/Makefile.am: * gdk/quartz/gdkquartz.h: * gdk/quartz/gdkwindow-quartz.c: Install backend specific header (bug #405915). Also add a getter for the toplevel nswindow. svn path=/trunk/; revision=19151
This commit is contained in:
parent
d7f3ab0569
commit
8082fbc437
@ -1,3 +1,10 @@
|
||||
2007-12-10 Richard Hult <richard@imendio.com>
|
||||
|
||||
* gdk/quartz/Makefile.am:
|
||||
* gdk/quartz/gdkquartz.h:
|
||||
* gdk/quartz/gdkwindow-quartz.c: Install backend specific
|
||||
header (bug #405915). Also add a getter for the toplevel nswindow.
|
||||
|
||||
2007-12-10 Richard Hult <richard@imendio.com>
|
||||
|
||||
* gdk/quartz/gdkdrawable-quartz.c:
|
||||
|
@ -52,3 +52,7 @@ libgdk_quartz_la_SOURCES = \
|
||||
gdkwindow-quartz.c \
|
||||
gdkwindow-quartz.h \
|
||||
xcursors.h
|
||||
|
||||
libgdkinclude_HEADERS = \
|
||||
gdkquartz.h
|
||||
|
||||
|
@ -26,6 +26,7 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
NSWindow*gdk_quartz_window_get_nswindow (GdkWindow *window);
|
||||
NSView *gdk_quartz_window_get_nsview (GdkWindow *window);
|
||||
NSImage *gdk_quartz_pixbuf_to_ns_image_libgtk_only (GdkPixbuf *pixbuf);
|
||||
id gdk_quartz_drag_context_get_dragging_info_libgtk_only (GdkDragContext *context);
|
||||
|
@ -44,9 +44,23 @@ gdk_quartz_window_get_nsview (GdkWindow *window)
|
||||
{
|
||||
GdkWindowObject *private = (GdkWindowObject *)window;
|
||||
|
||||
if (GDK_WINDOW_DESTROYED (window))
|
||||
return NULL;
|
||||
|
||||
return ((GdkWindowImplQuartz *)private->impl)->view;
|
||||
}
|
||||
|
||||
NSWindow *
|
||||
gdk_quartz_window_get_nswindow (GdkWindow *window)
|
||||
{
|
||||
GdkWindowObject *private = (GdkWindowObject *)window;
|
||||
|
||||
if (GDK_WINDOW_DESTROYED (window))
|
||||
return NULL;
|
||||
|
||||
return ((GdkWindowImplQuartz *)private->impl)->toplevel;
|
||||
}
|
||||
|
||||
static void
|
||||
gdk_window_impl_quartz_get_size (GdkDrawable *drawable,
|
||||
gint *width,
|
||||
|
Loading…
Reference in New Issue
Block a user