]> git.street.me.uk Git - andy/viking.git/blobdiff - src/acquire.c
[QA] Remove unused parameter
[andy/viking.git] / src / acquire.c
index 184ae2ab98f82c91589b2ceb8badc7657bd13d8d..aa1da53298863f56944729e3ec23629c3eb07bd8 100644 (file)
@@ -380,7 +380,7 @@ static void acquire ( VikWindow *vw, VikLayersPanel *vlp, VikViewport *vvp, VikD
       wi->vtl = VIK_TRW_LAYER(current_selected);
   }
   if ( wi->creating_new_layer ) {
-    wi->vtl = VIK_TRW_LAYER ( vik_layer_create ( VIK_LAYER_TRW, w->vvp, NULL, FALSE ) );
+    wi->vtl = VIK_TRW_LAYER ( vik_layer_create ( VIK_LAYER_TRW, w->vvp, FALSE ) );
     vik_layer_rename ( VIK_LAYER ( wi->vtl ), _(source_interface->layer_title) );
   }