[gtk+/gtk-2-90: 102/158] Use gtk_widget_queue_draw_area instead of gtk_widget_draw in shooter
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-90: 102/158] Use gtk_widget_queue_draw_area instead of gtk_widget_draw in shooter
- Date: Thu, 11 Mar 2010 02:52:08 +0000 (UTC)
commit 73f8e3c8328f539b7a4c6e5773ff0f08d194d8ed
Author: Christian Dywan <christian twotoasts de>
Date: Fri Oct 16 16:40:18 2009 +0200
Use gtk_widget_queue_draw_area instead of gtk_widget_draw in shooter
docs/tools/shooter.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/docs/tools/shooter.c b/docs/tools/shooter.c
index 95555ec..f8df8b5 100644
--- a/docs/tools/shooter.c
+++ b/docs/tools/shooter.c
@@ -205,7 +205,9 @@ int main (int argc, char **argv)
window = info->window->window;
gtk_widget_show_now (info->window);
- gtk_widget_draw (info->window, &(info->window->allocation));
+ gtk_widget_queue_draw_area (info->window,
+ info->window->allocation.x, info->window->allocation.y,
+ info->window->allocation.width, info->window->allocation.height);
while (gtk_events_pending ())
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]