diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-12-09 01:08:05 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-12-21 12:06:55 -0500 |
commit | 06f75b3727a0f06c1192b580f37edd8f31759263 (patch) | |
tree | 4a3f34830351f17cd16baa3d407ca41eb8f28057 /gdk/gdkapplaunchcontext.h | |
parent | de84a7b14f07eca28c31949767d17ecd8368a5fa (diff) | |
download | gtk+-06f75b3727a0f06c1192b580f37edd8f31759263.tar.gz |
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.
Diffstat (limited to 'gdk/gdkapplaunchcontext.h')
-rw-r--r-- | gdk/gdkapplaunchcontext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkapplaunchcontext.h b/gdk/gdkapplaunchcontext.h index cb53025c46..6805d9f7fe 100644 --- a/gdk/gdkapplaunchcontext.h +++ b/gdk/gdkapplaunchcontext.h @@ -28,6 +28,7 @@ #define __GDK_APP_LAUNCH_CONTEXT_H__ #include <gio/gio.h> +#include <gdk/gdktypes.h> #include <gdk/gdkscreen.h> G_BEGIN_DECLS @@ -39,7 +40,6 @@ G_BEGIN_DECLS #define GDK_IS_APP_LAUNCH_CONTEXT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GDK_TYPE_APP_LAUNCH_CONTEXT)) #define GDK_APP_LAUNCH_CONTEXT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GDK_TYPE_APP_LAUNCH_CONTEXT, GdkAppLaunchContextClass)) -typedef struct GdkAppLaunchContext GdkAppLaunchContext; typedef struct GdkAppLaunchContextClass GdkAppLaunchContextClass; typedef struct GdkAppLaunchContextPrivate GdkAppLaunchContextPrivate; |