[gtk: 1/2] gdkapplaunchcontext: Fix docs a bit
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/2] gdkapplaunchcontext: Fix docs a bit
- Date: Tue, 1 Feb 2022 20:34:42 +0000 (UTC)
commit 8e000c2dbfe8ba7305e995ddcc013fe4003c4317
Author: Phaedrus Leeds <mwleeds protonmail com>
Date: Tue Feb 1 10:55:54 2022 -0800
gdkapplaunchcontext: Fix docs a bit
The set_screen() and set_display() methods no longer exist.
gdk/gdkapplaunchcontext.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/gdk/gdkapplaunchcontext.c b/gdk/gdkapplaunchcontext.c
index f68a4c4d52..6ce9536b0f 100644
--- a/gdk/gdkapplaunchcontext.c
+++ b/gdk/gdkapplaunchcontext.c
@@ -31,8 +31,7 @@
* `GdkAppLaunchContext` handles launching an application in a graphical context.
*
* It is an implementation of `GAppLaunchContext` that provides startup
- * notification and allows to launch applications on a specific screen
- * or workspace.
+ * notification and allows to launch applications on a specific workspace.
*
* ## Launching an application
*
@@ -41,7 +40,6 @@
*
* context = gdk_display_get_app_launch_context (display);
*
- * gdk_app_launch_context_set_display (display);
* gdk_app_launch_context_set_timestamp (gdk_event_get_time (event));
*
* if (!g_app_info_launch_default_for_uri ("http://www.gtk.org", context, &error))
@@ -196,6 +194,10 @@ gdk_app_launch_context_get_display (GdkAppLaunchContext *context)
* This only works when running under a window manager that
* supports multiple workspaces, as described in the
* [Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec).
+ * Specifically this sets the `_NET_WM_DESKTOP` property described
+ * in that spec.
+ *
+ * This only works when using the X11 backend.
*
* When the workspace is not specified or @desktop is set to -1,
* it is up to the window manager to pick one, typically it will
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]