[gtk/gtk-3-24] Undo the gtk_window_present deprecation



commit f88e8ea6fe77d366c0cab4a45b8f3843fb27c7c6
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Mar 12 15:59:03 2019 -0400

    Undo the gtk_window_present deprecation
    
    It doesn't make sense to have it in 3.x if we don't
    have it in master.

 gtk/gtkwindow.c | 2 --
 gtk/gtkwindow.h | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 10c5618cae..b65e0fe8c8 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -10486,8 +10486,6 @@ gtk_window_draw (GtkWidget *widget,
  * Presents a window to the user. This function should not be used
  * as when it is called, it is too late to gather a valid timestamp
  * to allow focus stealing prevention to work correctly.
- *
- * Deprecated: 3.24: Use gtk_window_present_with_time() instead.
  **/
 void
 gtk_window_present (GtkWindow *window)
diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h
index e5d333155b..322cfc96f8 100644
--- a/gtk/gtkwindow.h
+++ b/gtk/gtkwindow.h
@@ -366,7 +366,7 @@ GDK_AVAILABLE_IN_ALL
 gboolean gtk_window_propagate_key_event   (GtkWindow        *window,
                                           GdkEventKey      *event);
 
-GDK_DEPRECATED_IN_3_24_FOR(gtk_window_present_with_time)
+GDK_AVAILABLE_IN_ALL
 void     gtk_window_present            (GtkWindow *window);
 GDK_AVAILABLE_IN_ALL
 void     gtk_window_present_with_time  (GtkWindow *window,


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