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,