[gtk/gtk-3-24: 1/2] gtkshow: Document that gtk_show_uri is deprecated




commit ad03ab2ebb561bba6bb49cee5d347deace2f7e8e
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Fri Sep 18 17:00:41 2020 -0400

    gtkshow: Document that gtk_show_uri is deprecated
    
    Due to the deprecation in gtkshow.h, there is proper deprecation warning
    for C code. But, for bindings (python in one case), there is no warning,
    due to missing "Deprecated:" annotation in gtkshow.c
    
    Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3166

 gtk/gtkshow.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkshow.c b/gtk/gtkshow.c
index a20d53674c..31f7a340f0 100644
--- a/gtk/gtkshow.c
+++ b/gtk/gtkshow.c
@@ -44,6 +44,8 @@
  * Returns: %TRUE on success, %FALSE on error
  *
  * Since: 2.14
+ *
+ * Deprecated: 3.22: Use gtk_show_uri_on_window() instead.
  */
 gboolean
 gtk_show_uri (GdkScreen    *screen,


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