]> err.no Git - mapper/commitdiff
Use gtk_widget_queue_draw instead of gtk_widget_queue_draw_area
authorKaj-Michael Lang <milang@tal.org>
Tue, 6 May 2008 17:18:45 +0000 (20:18 +0300)
committerKaj-Michael Lang <milang@tal.org>
Tue, 6 May 2008 17:18:45 +0000 (20:18 +0300)
src/gtkgps.c

index 779f35482bb4c6d79fa3622e4a3ed017699ab10a..d0510f9bd898d7dcb13570b7e4c24bd6e37e81bb 100644 (file)
@@ -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);
 }