]> Pileus Git - ~andy/gtk/commit
Make GdkAppLaunchContext display-dependent
authorMatthias Clasen <mclasen@redhat.com>
Thu, 9 Dec 2010 06:08:05 +0000 (01:08 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 21 Dec 2010 17:06:55 +0000 (12:06 -0500)
commit06f75b3727a0f06c1192b580f37edd8f31759263
tree4a3f34830351f17cd16baa3d407ca41eb8f28057
parentde84a7b14f07eca28c31949767d17ecd8368a5fa
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.
13 files changed:
gdk/gdk.symbols
gdk/gdkapplaunchcontext.c
gdk/gdkapplaunchcontext.h
gdk/gdkdisplay.c
gdk/gdkdisplay.h
gdk/gdkinternals.h
gdk/gdktypes.h
gdk/quartz/Makefile.am
gdk/quartz/gdkapplaunchcontext-quartz.c [deleted file]
gdk/win32/Makefile.am
gdk/win32/gdkapplaunchcontext-win32.c [deleted file]
gdk/x11/gdkapplaunchcontext-x11.c
gdk/x11/gdkdisplay-x11.c