[gtk/display-cleanup: 2/2] docs: Don't refer to nonexisting functions




commit 488722e7c422507f58da4cf2e55e590d2dd23b7d
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jul 29 23:00:57 2020 -0400

    docs: Don't refer to nonexisting functions
    
    gdk_surface_input_shape_combine_mask() no longer
    exists.

 gdk/gdkdisplay.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index 5e147b4571..7d8d7cb9ac 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -1038,9 +1038,11 @@ gdk_display_get_primary_clipboard (GdkDisplay *display)
  * gdk_display_supports_input_shapes:
  * @display: a #GdkDisplay
  *
- * Returns %TRUE if gdk_surface_input_shape_combine_mask() can
+ * Returns %TRUE if gdk_surface_set_input_region() can
  * be used to modify the input shape of surfaces on @display.
  *
+ * On modern displays, this value is always %TRUE.
+ *
  * Returns: %TRUE if surfaces with modified input shape are supported
  */
 gboolean


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