]> err.no Git - mapper/commitdiff
Silence a warning.
authorKaj-Michael Lang <milang@angel.tal.org>
Wed, 8 Aug 2007 08:19:30 +0000 (11:19 +0300)
committerKaj-Michael Lang <milang@angel.tal.org>
Wed, 8 Aug 2007 08:19:30 +0000 (11:19 +0300)
src/map.c

index 8c6003bb29c5fc5a2d28eb12f1552da0108e8ad4..3149943be24bcb8fe5e9e929d9db3c728e1a86d0 100644 (file)
--- a/src/map.c
+++ b/src/map.c
@@ -714,7 +714,7 @@ gboolean map_download_idle_refresh(ProgressUpdateInfo * pui)
                gtk_widget_destroy(_download_banner);
                _download_banner = NULL;
 #else
-               gtk_widget_hide(_progress_item);
+               gtk_widget_hide(GTK_WIDGET(_progress_item));
 #endif
                _num_downloads = _curr_download = 0;
        } else