[gtk+/gtk-3-22] Deprecate gtk_window_set_wmclass



commit 796107c833d4cd2308aa6c095d50772bd56309a2
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Oct 20 14:26:43 2016 -0400

    Deprecate gtk_window_set_wmclass
    
    This function was already documented as "don't use", and it is
    removed in GTK+ 4, so deprecate it properly.

 gtk/gtkwindow.c |    3 ++-
 gtk/gtkwindow.h |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 873acf1..0009360 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -2405,7 +2405,8 @@ gtk_window_get_title (GtkWindow *window)
  * gtk_window_set_role() on each window in your application, for the
  * benefit of the session manager. Setting the role allows the window
  * manager to restore window positions when loading a saved session.
- * 
+ *
+ * Deprecated: 3.22
  **/
 void
 gtk_window_set_wmclass (GtkWindow *window,
diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h
index e086dfc..322cfc9 100644
--- a/gtk/gtkwindow.h
+++ b/gtk/gtkwindow.h
@@ -150,7 +150,7 @@ void       gtk_window_set_title                (GtkWindow           *window,
                                                const gchar         *title);
 GDK_AVAILABLE_IN_ALL
 const gchar * gtk_window_get_title             (GtkWindow           *window);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_22
 void       gtk_window_set_wmclass              (GtkWindow           *window,
                                                const gchar         *wmclass_name,
                                                const gchar         *wmclass_class);


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