[gtk+] gtk: Fix remaining mentions of gtk_container_propagate_expose()



commit 14dc932fd177630083bbe55fb141e83a7e201578
Author: Benjamin Otte <otte redhat com>
Date:   Wed Sep 29 14:12:22 2010 +0200

    gtk: Fix remaining mentions of gtk_container_propagate_expose()
    
    That includes the gtkcontainer.h header file.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=630800

 gtk/gtkcontainer.h |    3 ---
 gtk/gtktextview.c  |    2 +-
 gtk/gtkwidget.c    |    8 ++++----
 3 files changed, 5 insertions(+), 8 deletions(-)
---
diff --git a/gtk/gtkcontainer.h b/gtk/gtkcontainer.h
index cabe547..8742911 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 73bb5e1..3c28fde 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 01aea78..e97c624 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().



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