From: Kaj-Michael Lang Date: Tue, 6 May 2008 17:18:45 +0000 (+0300) Subject: Use gtk_widget_queue_draw instead of gtk_widget_queue_draw_area X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3862083f4295098bc80580d6696994c7165b7269;p=mapper Use gtk_widget_queue_draw instead of gtk_widget_queue_draw_area --- 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); }