diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2006-10-11 12:59:20 +0000 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2006-10-11 12:59:20 +0000 |
commit | 1595579c643014378063f1e110cbd6a4edf60ed6 (patch) | |
tree | d5d83f686acd8bf4234daa55ab52f5574b599e78 | |
parent | 9121caf12576c03497962432e04dc49ab596a08f (diff) | |
download | totem-1595579c643014378063f1e110cbd6a4edf60ed6.tar.gz |
- Don't destroy stream when we don't have one. Bug #360959.
2006-10-11 Christian Persch <chpe@cvs.gnome.org>
* browser-plugin/totemPlugin.cpp:
- Don't destroy stream when we don't have one. Bug #360959.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | browser-plugin/totemPlugin.cpp | 3 |
2 files changed, 9 insertions, 2 deletions
@@ -1,8 +1,12 @@ -2006-10-07 Christian Persch <chpe@cvs.gnome.org> +2006-10-11 Christian Persch <chpe@cvs.gnome.org> * browser-plugin/totemPlugin.cpp: + - Don't destroy stream when we don't have one. Bug #360959. + +2006-10-07 Christian Persch <chpe@cvs.gnome.org> - Don't crash when printing a page with a plugin. Bug #360253. + * browser-plugin/totemPlugin.cpp: + - Don't crash when printing a page with a plugin. Bug #360253. 2006-10-04 Bastien Nocera <hadess@hadess.net> diff --git a/browser-plugin/totemPlugin.cpp b/browser-plugin/totemPlugin.cpp index b3cbd8a72..fc3ca4767 100644 --- a/browser-plugin/totemPlugin.cpp +++ b/browser-plugin/totemPlugin.cpp @@ -118,6 +118,9 @@ static void cb_stop_sending_data (DBusGProxy *proxy, totemPlugin *plugin) { + if (!plugin->stream) + return; + D("Stop sending data signal received"); if (CallNPN_DestroyStreamProc (mozilla_functions.destroystream, plugin->instance, |