docs: Don't mention deprecated API in gtk_widget_set_visible
authorMarco Melorio <marco.melorio@protonmail.com>
Sun, 8 Jan 2023 20:49:28 +0000 (21:49 +0100)
committerMarco Melorio <marco.melorio@protonmail.com>
Sun, 8 Jan 2023 20:49:28 +0000 (21:49 +0100)
That statement is true, but since that API is deprecated, it doesn't
need to be there anymore to avoid confusing people.

gtk/gtkwidget.c

index 497554355a208a74f2ad4aeaa9f3f706046a121d..dfe4a6dbb07c5446eca52a167efadbd5813258b7 100644 (file)
@@ -5664,10 +5664,6 @@ gtk_widget_get_state_flags (GtkWidget *widget)
  *
  * Note that setting this to %TRUE doesn’t mean the widget is
  * actually viewable, see [method@Gtk.Widget.get_visible].
- *
- * This function simply calls [method@Gtk.Widget.show] or
- * [method@Gtk.Widget.hide] but is nicer to use when the
- * visibility of the widget depends on some condition.
  */
 void
 gtk_widget_set_visible (GtkWidget *widget,