[gtk: 1/2] doc: Cleanup doc removing mentions of gdk_surface_shape_combine_region()



commit 585397937d0b52a2844011316378a6cf238b042e
Author: Hubert Figuière <hub figuiere net>
Date:   Thu Dec 5 08:57:19 2019 -0500

    doc: Cleanup doc removing mentions of gdk_surface_shape_combine_region()

 gdk/gdksurface.c | 8 ++++----
 gtk/gtkwidget.h  | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gdk/gdksurface.c b/gdk/gdksurface.c
index ba22e4f8af..2cdc15e687 100644
--- a/gdk/gdksurface.c
+++ b/gdk/gdksurface.c
@@ -2438,10 +2438,10 @@ gdk_surface_get_root_coords (GdkSurface *surface,
  * @offset_x: X position of @shape_region in @surface coordinates
  * @offset_y: Y position of @shape_region in @surface coordinates
  *
- * Like gdk_surface_shape_combine_region(), but the shape applies
- * only to event handling. Mouse events which happen while
- * the pointer position corresponds to an unset bit in the
- * mask will be passed on the surface below @surface.
+ * Apply the region to the surface for the purpose of event
+ * handling. Mouse events which happen while the pointer position
+ * corresponds to an unset bit in the mask will be passed on the
+ * surface below @surface.
  *
  * An input shape is typically used with RGBA surfaces.
  * The alpha channel of the surface defines which pixels are
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index ff8ac40027..dcf15b20e6 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -754,7 +754,7 @@ void             gtk_widget_set_default_direction (GtkTextDirection  dir);
 GDK_AVAILABLE_IN_ALL
 GtkTextDirection gtk_widget_get_default_direction (void);
 
-/* Counterpart to gdk_surface_shape_combine_region.
+/* Counterpart to gdk_surface_input_shape_combine_region.
  */
 GDK_AVAILABLE_IN_ALL
 void         gtk_widget_input_shape_combine_region (GtkWidget *widget,


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