[gtk/gtk-3-24] window: Advise using gtk_window_present_with_time()



commit e5b83f1a87f0c6bcaa0034a29d8d6e8ba1776b57
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jul 25 17:48:52 2018 +0200

    window: Advise using gtk_window_present_with_time()
    
    Rather than gtk_window_present()

 gdk/gdkwindow.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 9a0e98217d..14164092d0 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -10275,7 +10275,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.
  *
  **/
@@ -10749,7 +10749,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.
  *
  **/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]