From 3862083f4295098bc80580d6696994c7165b7269 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Tue, 6 May 2008 20:18:45 +0300 Subject: [PATCH] Use gtk_widget_queue_draw instead of gtk_widget_queue_draw_area --- src/gtkgps.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/gtkgps.c b/src/gtkgps.c index 779f354..d0510f9 100644 --- a/src/gtkgps.c +++ b/src/gtkgps.c @@ -509,7 +509,7 @@ if ((GTK_WIDGET_MAPPED(widget)==FALSE) || (GTK_WIDGET_VISIBLE(widget)==FALSE)) return TRUE; gps=GTK_GPS(widget); -gtk_widget_queue_draw_area(widget, 0, 0, gps->width, gps->height); +gtk_widget_queue_draw(widget); return TRUE; } @@ -529,10 +529,6 @@ return TRUE; void gtk_gps_refresh(GtkWidget *widget) { -GtkGps *gps; - g_return_if_fail(GTK_IS_GPS(widget)); - -gps=GTK_GPS(widget); -gtk_widget_queue_draw_area(widget, 0, 0, gps->width, gps->height); +gtk_widget_queue_draw(widget); } -- 2.39.5