Make GdkAppLaunchContext display-dependent

Add a GdkDisplay::get_app_launch_context vfunc, and a
gdk_display_get_app_launch_context that for X11 returns a subclass.
For win32 and quartz, the implementations were trivial, so we
just return a new GdkAppLaunchContext without subclassing. Since
the type of the context now depends on the display,
gdk_app_launch_context_set_display is deprecated.
This commit is contained in:
Matthias Clasen
2010-12-09 01:08:05 -05:00
parent de84a7b14f
commit 06f75b3727
13 changed files with 133 additions and 151 deletions

View File

@ -21,7 +21,6 @@ libgdk_quartz_la_SOURCES = \
GdkQuartzView.h \
GdkQuartzWindow.c \
GdkQuartzWindow.h \
gdkapplaunchcontext-quartz.c \
gdkcursor-quartz.c \
gdkdevice-core.c \
gdkdevicemanager-core.c \