|
From: <br...@us...> - 2009-10-19 02:21:13
|
Revision: 4001
http://openvrml.svn.sourceforge.net/openvrml/?rev=4001&view=rev
Author: braden
Date: 2009-10-19 02:21:05 +0000 (Mon, 19 Oct 2009)
Log Message:
-----------
Only print out debugging message if we actually erased any references.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/openvrml-xembed/main.cpp
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-10-19 02:10:57 UTC (rev 4000)
+++ trunk/ChangeLog 2009-10-19 02:21:05 UTC (rev 4001)
@@ -3,7 +3,8 @@
Make throw_runtime_error_from_win32_system_error available to
other translation units.
- * src/Makefile.am
+ * src/Makefile.am (libopenvrml_libopenvrml_la_SOURCES): Added
+ libopenvrml/openvrml/local/error.{cpp,h}.
* src/libopenvrml/openvrml/local/conf.cpp
* src/libopenvrml/openvrml/local/error.cpp
* src/libopenvrml/openvrml/local/error.h
Modified: trunk/src/openvrml-xembed/main.cpp
===================================================================
--- trunk/src/openvrml-xembed/main.cpp 2009-10-19 02:10:57 UTC (rev 4000)
+++ trunk/src/openvrml-xembed/main.cpp 2009-10-19 02:21:05 UTC (rev 4001)
@@ -230,6 +230,10 @@
error_guard.dismiss();
}
+//
+// Note that this callback gets called for every name owner change on the
+// bus--including those completely unrelated to us.
+//
gboolean
openvrml_xembed_name_owner_changed(
DBusGProxy * /* proxy */,
@@ -252,7 +256,7 @@
openvrml_xembed_browser_factory_remove_hosts_for_owner(
data->browser_factory,
old_owner);
- g_debug("erased references to %s", old_owner);
+ if (erased > 0) { g_debug("erased references to %s", old_owner); }
}
const bool browser_factory_has_hosts =
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|