summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-03-28 17:09:49 +0200
committerBenjamin Otte <otte@redhat.com>2018-04-05 14:56:38 +0200
commit73650c6da2b6171d10633038f74088980e8a7fc7 (patch)
treec3f4d5c50441cb30f02cf39546d6311e18af2935 /examples
parenta468714849358b6de1d26834c0d0e24cce0892e2 (diff)
downloadgtk+-73650c6da2b6171d10633038f74088980e8a7fc7.tar.gz
gtk: Remove gtk_widget_queue_draw_region()
... and gtk_widget_queue_draw_area(). They don't doi anything anymore.
Diffstat (limited to 'examples')
-rw-r--r--examples/drawing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/drawing.c b/examples/drawing.c
index 9001515b43..c5b0f65d9c 100644
--- a/examples/drawing.c
+++ b/examples/drawing.c
@@ -73,8 +73,8 @@ draw_brush (GtkWidget *widget,
cairo_destroy (cr);
- /* Now invalidate the affected region of the drawing area. */
- gtk_widget_queue_draw_area (widget, x - 3, y - 3, 6, 6);
+ /* Now invalidate the drawing area. */
+ gtk_widget_queue_draw (widget);
}
static double start_x;