summaryrefslogtreecommitdiff
path: root/gdk/gdkinternals.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-12-09 01:08:05 -0500
committerMatthias Clasen <mclasen@redhat.com>2010-12-21 12:06:55 -0500
commit06f75b3727a0f06c1192b580f37edd8f31759263 (patch)
tree4a3f34830351f17cd16baa3d407ca41eb8f28057 /gdk/gdkinternals.h
parentde84a7b14f07eca28c31949767d17ecd8368a5fa (diff)
downloadgtk+-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/gdkinternals.h')
-rw-r--r--gdk/gdkinternals.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index d0fa21d9b3..604ed64aa9 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -304,6 +304,7 @@ struct _GdkDisplayClass
GdkAtom message_type,
GdkFilterFunc func,
gpointer data);
+ GdkAppLaunchContext * (*get_app_launch_context) (GdkDisplay *display);
/* Signals */
@@ -575,12 +576,6 @@ struct GdkAppLaunchContextPrivate
char *icon_name;
};
-char *_gdk_windowing_get_startup_notify_id (GAppLaunchContext *context,
- GAppInfo *info,
- GList *files);
-void _gdk_windowing_launch_failed (GAppLaunchContext *context,
- const char *startup_notify_id);
-
void _gdk_display_device_grab_update (GdkDisplay *display,
GdkDevice *device,
GdkDevice *source_device,