[med-svn] [SCM] aghermann branch, master,	updated. c0bd21ca8eb529ade7e0c7aad22951a308a8dc8f
    Andrei Zavada 
    johnhommer at gmail.com
       
    Wed May  1 00:09:49 UTC 2013
    
    
  
The following commit has been merged in the master branch:
commit f0e032bdc0bfe78067c3dda6edc6ae815ed30caa
Author: Andrei Zavada <johnhommer at gmail.com>
Date:   Wed May 1 02:50:53 2013 +0300
    lose SModelrunFacility::csubject
diff --git a/src/ui/mf/mf.cc b/src/ui/mf/mf.cc
index 37987c4..1dcf8fb 100644
--- a/src/ui/mf/mf.cc
+++ b/src/ui/mf/mf.cc
@@ -34,7 +34,6 @@ aghui::SModelrunFacility::
 SModelrunFacility (agh::ach::CModelRun& csim, SExpDesignUI& parent)
       : csimulation (csim),
 // subject is known only by name, so look up his full object now
-	csubject (parent.ED->subject_by_x( csim.subject())),
 	// not sure we need this though
 	display_factor (1.),
 	zoomed_episode (-1),
@@ -105,8 +104,9 @@ SModelrunFacility (agh::ach::CModelRun& csim, SExpDesignUI& parent)
 			0.);
 	}
 
-	snprintf_buf( "Smooth: %zu", swa_smoothover);
-	gtk_button_set_label( (GtkButton*)eMFSmooth, __buf__);
+	gtk_button_set_label(
+		(GtkButton*)eMFSmooth,
+		(snprintf_buf( "Smooth: %zu", swa_smoothover), __buf__));
 
 	gtk_widget_show_all( (GtkWidget*)wModelrunFacility);
 }
diff --git a/src/ui/mf/mf.hh b/src/ui/mf/mf.hh
index a65bb69..3fe4e34 100644
--- a/src/ui/mf/mf.hh
+++ b/src/ui/mf/mf.hh
@@ -32,8 +32,6 @@ struct SModelrunFacility {
 
 	agh::ach::CModelRun&
 		csimulation;
-	agh::CSubject&
-		csubject;
 
 	double	cf;
 	double snapshot()
-- 
Sleep experiment manager
    
    
More information about the debian-med-commit
mailing list