diff --git a/gtk/gtkcontainer.h b/gtk/gtkcontainer.h index cabe5472af..87429114e1 100644 --- a/gtk/gtkcontainer.h +++ b/gtk/gtkcontainer.h @@ -122,9 +122,6 @@ GList* gtk_container_get_children (GtkContainer *container); void gtk_container_propagate_draw (GtkContainer *container, GtkWidget *child, cairo_t *cr); -void gtk_container_propagate_expose (GtkContainer *container, - GtkWidget *child, - GdkEventExpose *event); void gtk_container_set_focus_chain (GtkContainer *container, GList *focusable_widgets); diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c index 73bb5e1a24..3c28fdebb0 100644 --- a/gtk/gtktextview.c +++ b/gtk/gtktextview.c @@ -4866,7 +4866,7 @@ gtk_text_view_draw (GtkWidget *widget, { GtkTextViewChild *vc = tmp_list->data; - /* propagate_expose checks that event->window matches + /* propagate_draw checks that event->window matches * child->window */ if (!vc->anchor) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 01aea78352..e97c62417a 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -5402,10 +5402,10 @@ gtk_cairo_transform_to_window (cairo_t *cr, * @event: a expose #GdkEvent * * Very rarely-used function. This function is used to emit - * an expose event signals on a widget. This function is not - * normally used directly. The only time it is used is when - * propagating an expose event to a child %NO_WINDOW widget, and - * that is normally done using gtk_container_propagate_expose(). + * an expose event on a widget. This function is not normally used + * directly. The only time it is used is when propagating an expose + * event to a child %NO_WINDOW widget, and that is normally done + * using gtk_container_propagate_draw(). * * If you want to force an area of a window to be redrawn, * use gdk_window_invalidate_rect() or gdk_window_invalidate_region().