aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValerio Mariani <valerio.mariani@desy.de>2015-01-26 18:22:31 +0100
committervalerio.mariani@desy.de <vmariani@cfeld-valerio2.desy.de>2015-01-27 14:11:56 +0100
commita61f606acdfb844d105c10243fb8a1751525adea (patch)
tree03f61645cfc7636d9ce9ad4f2d3803b88bdaafe5 /src
parent07fab90f63443a4b048008298ecad2c53a5276bc (diff)
Add write_detector_geometry_2() to avoid changing API
Diffstat (limited to 'src')
-rw-r--r--src/dw-hdfsee.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dw-hdfsee.c b/src/dw-hdfsee.c
index 287c7349..94d4d62b 100644
--- a/src/dw-hdfsee.c
+++ b/src/dw-hdfsee.c
@@ -1207,9 +1207,9 @@ static int save_geometry_file(DisplayWindow *dw)
gtk_dialog_run(GTK_DIALOG(d));
output_filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER (d));
- w = write_detector_geometry(dw->geom_filename, output_filename,
- dw->image->det, "Manually optimized with "
- "hdfsee", 0);
+ w = write_detector_geometry_2(dw->geom_filename, output_filename,
+ dw->image->det, "Manually optimized with "
+ "hdfsee", 0);
if ( w != 0 ) {
ERROR("Error saving geometry!\n");
}