[med-svn] [SCM] aghermann branch, master, updated. 4f7a3b774136ffffbaf9b05d90bd568347bc5461

Andrei Zavada johnhommer at gmail.com
Fri Nov 16 00:50:03 UTC 2012


The following commit has been merged in the master branch:
commit 381730a6a3700d4f9872b0cf566a3faf3ec24b95
Author: Andrei Zavada <johnhommer at gmail.com>
Date:   Thu Oct 4 02:37:11 2012 +0300

    don't call gtk_widget_destroy in vain for SF daughter dialogs

diff --git a/src/ui/scoring-facility-filter.cc b/src/ui/scoring-facility-filter.cc
index be66a2e..e689bd8 100644
--- a/src/ui/scoring-facility-filter.cc
+++ b/src/ui/scoring-facility-filter.cc
@@ -21,7 +21,8 @@ using namespace std;
 aghui::SScoringFacility::SFiltersDialog::
 ~SFiltersDialog()
 {
-	gtk_widget_destroy( (GtkWidget*)wFilters);
+	// gtk_widget_destroy( (GtkWidget*)wFilters);
+	// done in a swoop in ~SF
 }
 // bool
 // aghui::SScoringFacility::SChannel::validate_filters()
diff --git a/src/ui/scoring-facility-patterns.cc b/src/ui/scoring-facility-patterns.cc
index d51be36..3aa6f2c 100644
--- a/src/ui/scoring-facility-patterns.cc
+++ b/src/ui/scoring-facility-patterns.cc
@@ -40,8 +40,8 @@ SFindDialog( SScoringFacility& parent)
 aghui::SScoringFacility::SFindDialog::
 ~SFindDialog()
 {
-	g_object_unref( mPatterns);
-	gtk_widget_destroy( (GtkWidget*)wPattern);
+	// g_object_unref( mPatterns);
+	// gtk_widget_destroy( (GtkWidget*)wPattern);
 }
 
 
diff --git a/src/ui/scoring-facility-phasediff.cc b/src/ui/scoring-facility-phasediff.cc
index 5c1a342..7fefdff 100644
--- a/src/ui/scoring-facility-phasediff.cc
+++ b/src/ui/scoring-facility-phasediff.cc
@@ -39,7 +39,7 @@ SPhasediffDialog (aghui::SScoringFacility& parent)
 aghui::SScoringFacility::SPhasediffDialog::
 ~SPhasediffDialog ()
 {
-	gtk_widget_destroy( (GtkWidget*)wSFPD);
+	// gtk_widget_destroy( (GtkWidget*)wSFPD);
 }
 
 

-- 
Sleep experiment manager



More information about the debian-med-commit mailing list