[med-svn] [SCM] aghermann branch, master, updated. 3b87b4f8039ed683022537a0599b7dea069974d2

Andrei Zavada johnhommer at gmail.com
Sun Sep 30 22:40:50 UTC 2012


The following commit has been merged in the master branch:
commit a70b43cef505296c24f239037b3380b7665224b6
Author: Andrei Zavada <johnhommer at gmail.com>
Date:   Sat Sep 29 01:01:32 2012 +0300

    avoid gtk_main reentry in SExpDesign::do_rescan_tree, use gdk_window_process_updates

diff --git a/src/ui/expdesign.cc b/src/ui/expdesign.cc
index b50ca6b..69ba230 100644
--- a/src/ui/expdesign.cc
+++ b/src/ui/expdesign.cc
@@ -996,7 +996,11 @@ sb_main_progress_indicator( const char* current, size_t n, size_t i)
 {
 	snprintf_buf( "(%zu of %zu) %s", i, n, current);
 	buf_on_main_status_bar();
-	gtk_flush();
+	gdk_window_process_updates(
+		gtk_widget_get_parent_window(
+			(GtkWidget*)sbMainStatusBar),
+		FALSE);
+	//gtk_flush();
 }
 
 

-- 
Sleep experiment manager



More information about the debian-med-commit mailing list