totem r5734 - in trunk: . browser-plugin



Author: hadess
Date: Mon Sep 29 15:13:57 2008
New Revision: 5734
URL: http://svn.gnome.org/viewvc/totem?rev=5734&view=rev

Log:
2008-09-29  Bastien Nocera  <hadess hadess net>

	* browser-plugin/totem-plugin-viewer.c (totem_embedded_set_uri):
	Fix a crash when emptying the playlist on Solaris machines
	(Closes: #552462)



Modified:
   trunk/ChangeLog
   trunk/browser-plugin/totem-plugin-viewer.c

Modified: trunk/browser-plugin/totem-plugin-viewer.c
==============================================================================
--- trunk/browser-plugin/totem-plugin-viewer.c	(original)
+++ trunk/browser-plugin/totem-plugin-viewer.c	Mon Sep 29 15:13:57 2008
@@ -721,7 +721,10 @@
 	emb->is_browser_stream = (is_browser_stream != FALSE);
 	emb->href_uri = NULL;
 
-        g_print ("totem_embedded_set_uri uri %s base %s => resolved %s\n", uri, base_uri, emb->current_uri);
+	if (uri != NULL)
+		g_print ("totem_embedded_set_uri uri %s base %s => resolved %s\n", uri, base_uri, emb->current_uri);
+	else
+		g_print ("Emptying current_uri\n");
 
 	g_free (old_uri);
 	g_free (old_base);



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