[totem] browser-plugin: Not an error



commit 7f1252ba4df41057c6dcf84700145dadc826f15a
Author: Bastien Nocera <hadess hadess net>
Date:   Sun Dec 4 12:13:31 2011 +0100

    browser-plugin: Not an error

 browser-plugin/totemPlugin.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/browser-plugin/totemPlugin.cpp b/browser-plugin/totemPlugin.cpp
index 4c43d79..d87243a 100644
--- a/browser-plugin/totemPlugin.cpp
+++ b/browser-plugin/totemPlugin.cpp
@@ -933,6 +933,9 @@ NameAppearedCallback (GDBusConnection *connection,
 totemPlugin::BusNameVanishedCallback (GDBusConnection *connection,
 				      const gchar     *aName)
 {
+	if (mViewerBusAddress == NULL)
+		return;
+
 	Dm ("Viewer lost connection!");
 
 	g_free (mViewerBusAddress);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]