ekiga r7573 - trunk/lib/engine/framework
- From: jpuydt svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r7573 - trunk/lib/engine/framework
- Date: Sun, 18 Jan 2009 16:49:05 +0000 (UTC)
Author: jpuydt
Date: Sun Jan 18 16:49:05 2009
New Revision: 7573
URL: http://svn.gnome.org/viewvc/ekiga?rev=7573&view=rev
Log:
Better debug output from the kickstart
Modified:
trunk/lib/engine/framework/kickstart.cpp
Modified: trunk/lib/engine/framework/kickstart.cpp
==============================================================================
--- trunk/lib/engine/framework/kickstart.cpp (original)
+++ trunk/lib/engine/framework/kickstart.cpp Sun Jan 18 16:49:05 2009
@@ -92,16 +92,14 @@
while (went_on) {
went_on = false;
-#if KICKSTART_DEBUG
- std::cout << "KickStart(kick): starting a loop" << std::endl;
-#endif
{ // first try the blanks
std::list<gmref_ptr<Spark> > temp;
temp.swap (blanks);
#if KICKSTART_DEBUG
- std::cout << "KickStart(kick): looping on BLANK sparks" << std::endl;
+ if (!temp.empty ())
+ std::cout << "KickStart(kick): looping on BLANK sparks" << std::endl;
#endif
for (std::list<gmref_ptr<Spark> >::iterator iter = temp.begin ();
@@ -166,7 +164,8 @@
temp.swap (partials);
#if KICKSTART_DEBUG
- std::cout << "KickStart(kick): looping on PARTIAL sparks" << std::endl;
+ if (!temp.empty ())
+ std::cout << "KickStart(kick): looping on PARTIAL sparks" << std::endl;
#endif
for (std::list<gmref_ptr<Spark> >::iterator iter = temp.begin ();
@@ -224,9 +223,5 @@
}
}
}
-
-#if KICKSTART_DEBUG
- std::cout << "KickStart(kick): ending a loop" << std::endl;
-#endif
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]