diff options
author | Benjamin Otte <otte@redhat.com> | 2016-10-19 18:18:31 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-10-27 05:07:23 +0200 |
commit | 8b76d12f289ef07ddac30c21f330a977d270c5a7 (patch) | |
tree | 57309eb5ff4b6daf90574d5011ba6c54314064fb /gtk/gtkdrawingarea.c | |
parent | 27ab75250cf33c75077b444a164ea0cd442c6e7c (diff) | |
download | gtk+-8b76d12f289ef07ddac30c21f330a977d270c5a7.tar.gz |
drawingarea: Clarify docs
Don't use gdk_window_invalidate(), use gtk_widget_queue_draw().
Diffstat (limited to 'gtk/gtkdrawingarea.c')
-rw-r--r-- | gtk/gtkdrawingarea.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkdrawingarea.c b/gtk/gtkdrawingarea.c index 999c95c480..786cded07e 100644 --- a/gtk/gtkdrawingarea.c +++ b/gtk/gtkdrawingarea.c @@ -102,8 +102,8 @@ * Draw signals are normally delivered when a drawing area first comes * onscreen, or when it’s covered by another window and then uncovered. * You can also force an expose event by adding to the “damage region” - * of the drawing area’s window; gtk_widget_queue_draw_area() and - * gdk_window_invalidate_rect() are equally good ways to do this. + * of the drawing area’s window using gtk_widget_queue_draw_region(), + * gtk_widget_queue_draw_area() or gtk_widget_queue_draw(). * You’ll then get a draw signal for the invalid region. * * The available routines for drawing are documented on the |