static void expedia_mapcoord_to_center_coord ( MapCoord *src, VikCoord *dest );
static int expedia_download ( MapCoord *src, const gchar *dest_fn );
-static DownloadOptions expedia_options = { 0 };
+static DownloadOptions expedia_options = { NULL, 2 };
void expedia_init() {
VikMapsLayer_MapType map_type = { 5, 0, 0, VIK_VIEWPORT_DRAWMODE_EXPEDIA, expedia_coord_to_mapcoord, expedia_mapcoord_to_center_coord, expedia_download };
cropped = gdk_pixbuf_new_subpixbuf ( old, WIDTH_BUFFER, HEIGHT_BUFFER,
width - 2*WIDTH_BUFFER, height - 2*HEIGHT_BUFFER );
- gdk_pixbuf_save ( cropped, file, "png", NULL, NULL, &gx );
+ gdk_pixbuf_save ( cropped, file, "png", &gx, NULL );
if ( gx ) {
g_warning ( "Couldn't save EXPEDIA image file (right after successful download! Please report and delete image file!): %s", gx->message );
g_error_free ( gx );