summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2018-07-25 17:48:52 +0200
committerBastien Nocera <hadess@hadess.net>2018-07-25 17:51:48 +0200
commit811f9165a8234e810872adee3d9100dc2c8f90c1 (patch)
treed2ff828ee6d9519bb5cf736f674f8ff27561af98
parentce36eca5c802690cb785066467b05b36c0aeb661 (diff)
downloadgtk+-wip/hadess/gtk-present-wayland.tar.gz
window: Advise using gtk_window_present_with_time()wip/hadess/gtk-present-wayland
Rather than gtk_window_present()
-rw-r--r--gdk/gdkwindow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 6b231f067e..16a32a9a45 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -10276,7 +10276,7 @@ gdk_window_create_similar_image_surface (GdkWindow * window,
* @window: a #GdkWindow
* @timestamp: timestamp of the event triggering the window focus
*
- * Sets keyboard focus to @window. In most cases, gtk_window_present()
+ * Sets keyboard focus to @window. In most cases, gtk_window_present_with_time()
* should be used on a #GtkWindow, rather than calling this function.
*
**/
@@ -10750,7 +10750,7 @@ gdk_window_iconify (GdkWindow *window)
* Attempt to deiconify (unminimize) @window. On X11 the window manager may
* choose to ignore the request to deiconify. When using GTK+,
* use gtk_window_deiconify() instead of the #GdkWindow variant. Or better yet,
- * you probably want to use gtk_window_present(), which raises the window, focuses it,
+ * you probably want to use gtk_window_present_with_time(), which raises the window, focuses it,
* unminimizes it, and puts it on the current desktop.
*
**/