[med-svn] [SCM] aghermann branch, master, updated. 4f7a3b774136ffffbaf9b05d90bd568347bc5461
Andrei Zavada
johnhommer at gmail.com
Fri Nov 16 00:50:10 UTC 2012
The following commit has been merged in the master branch:
commit 3adde73fe0976761ceb73f1696012a8bcaa462d7
Author: Andrei Zavada <johnhommer at gmail.com>
Date: Fri Oct 12 02:35:05 2012 +0300
drop some commented code, style
diff --git a/src/ui/scoring-facility-filter.cc b/src/ui/scoring-facility-filter.cc
index e689bd8..2854ec2 100644
--- a/src/ui/scoring-facility-filter.cc
+++ b/src/ui/scoring-facility-filter.cc
@@ -18,23 +18,11 @@ using namespace std;
-aghui::SScoringFacility::SFiltersDialog::
-~SFiltersDialog()
-{
- // gtk_widget_destroy( (GtkWidget*)wFilters);
- // done in a swoop in ~SF
-}
-// bool
-// aghui::SScoringFacility::SChannel::validate_filters()
+// aghui::SScoringFacility::SFiltersDialog::
+// ~SFiltersDialog()
// {
-// if ( low_pass.cutoff >= 0. && low_pass.order < 6 &&
-// high_pass.cutoff >= 0. && high_pass.order < 6
-// && ((low_pass.cutoff > 0. && high_pass.cutoff > 0. && high_pass.cutoff < low_pass.cutoff)
-// || high_pass.cutoff == 0. || low_pass.cutoff == 0.) )
-// return true;
-// low_pass.cutoff = high_pass.cutoff = 0;
-// low_pass.order = high_pass.order = 1;
-// return false;
+// // gtk_widget_destroy( (GtkWidget*)wFilters);
+// // done in a swoop in ~SF
// }
diff --git a/src/ui/scoring-facility-patterns.cc b/src/ui/scoring-facility-patterns.cc
index d18ca96..56f3538 100644
--- a/src/ui/scoring-facility-patterns.cc
+++ b/src/ui/scoring-facility-patterns.cc
@@ -38,7 +38,7 @@ SFindDialog (SScoringFacility& parent)
}
aghui::SScoringFacility::SFindDialog::
-~SFindDialog()
+~SFindDialog ()
{
// g_object_unref( mPatterns);
// gtk_widget_destroy( (GtkWidget*)wPattern);
@@ -439,7 +439,8 @@ const char
*aghui::SScoringFacility::SFindDialog::globally_marker = "[global] ";
void
-aghui::SScoringFacility::SFindDialog::enumerate_patterns_to_combo()
+aghui::SScoringFacility::SFindDialog::
+enumerate_patterns_to_combo()
{
g_signal_handler_block( _p.ePatternList, _p.ePatternList_changed_cb_handler_id);
gtk_list_store_clear( _p.mPatterns);
@@ -483,7 +484,8 @@ aghui::SScoringFacility::SFindDialog::enumerate_patterns_to_combo()
void
-aghui::SScoringFacility::SFindDialog::preselect_entry( const char *label, bool do_globally)
+aghui::SScoringFacility::SFindDialog::
+preselect_entry( const char *label, bool do_globally)
{
if ( label == NULL ) {
gtk_combo_box_set_active_iter( _p.ePatternList, NULL);
@@ -510,7 +512,8 @@ aghui::SScoringFacility::SFindDialog::preselect_entry( const char *label, bool d
}
void
-aghui::SScoringFacility::SFindDialog::preselect_channel( const char *ch)
+aghui::SScoringFacility::SFindDialog::
+preselect_channel( const char *ch)
{
if ( ch == NULL ) {
gtk_combo_box_set_active_iter( _p.ePatternChannel, NULL);
@@ -536,7 +539,4 @@ aghui::SScoringFacility::SFindDialog::preselect_channel( const char *ch)
-
-
-
-// EOF
+// eof
--
Sleep experiment manager
More information about the debian-med-commit
mailing list