diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-02-29 21:23:28 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-02-29 21:23:28 +0800 |
commit | 4d9c8b44c8d04b463dfe1e8e0ae1d79d69c8009f (patch) | |
tree | b3a55d576b33c38754bb55df845114ee71a0e90e | |
parent | b739c9c7b5cdf56705049b9fd5e9d745b7c3d1e6 (diff) | |
download | gsoc2013-epiphany-4d9c8b44c8d04b463dfe1e8e0ae1d79d69c8009f.tar.gz gsoc2013-epiphany-4d9c8b44c8d04b463dfe1e8e0ae1d79d69c8009f.tar.zst gsoc2013-epiphany-4d9c8b44c8d04b463dfe1e8e0ae1d79d69c8009f.zip |
Add debug output.
2004-02-29 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/mozilla-embed-event.cpp: (mozilla_embed_event_init),
(mozilla_embed_event_finalize), (mozilla_embed_event_set_property):
Add debug output.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | embed/mozilla/mozilla-embed-event.cpp | 10 |
2 files changed, 17 insertions, 0 deletions
@@ -1,5 +1,12 @@ 2004-02-29 Christian Persch <chpe@cvs.gnome.org> + * embed/mozilla/mozilla-embed-event.cpp: (mozilla_embed_event_init), + (mozilla_embed_event_finalize), (mozilla_embed_event_set_property): + + Add debug output. + +2004-02-29 Christian Persch <chpe@cvs.gnome.org> + * embed/mozilla/EphyHeaderSniffer.cpp: (PerformSave): Decode RFC 2231 and RFC 2047 encoded filenames in content-disposition diff --git a/embed/mozilla/mozilla-embed-event.cpp b/embed/mozilla/mozilla-embed-event.cpp index 0454ac3f2..aae28b12a 100644 --- a/embed/mozilla/mozilla-embed-event.cpp +++ b/embed/mozilla/mozilla-embed-event.cpp @@ -21,6 +21,8 @@ #include "mozilla-embed-event.h" +#include "ephy-debug.h" + #include <nsCOMPtr.h> #include <nsIDOMEvent.h> @@ -97,6 +99,10 @@ mozilla_embed_event_set_property (MozillaEmbedEvent *event, const char *name, GValue *value) { + char *value_content = g_strdup_value_contents (value); + LOG ("embed event %p set property \"%s\" to %s", event, name, value_content); + g_free (value_content); + g_hash_table_insert (event->priv->props, g_strdup (name), value); @@ -166,6 +172,8 @@ mozilla_embed_event_init (MozillaEmbedEvent *event) { event->priv = MOZILLA_EMBED_EVENT_GET_PRIVATE (event); + LOG ("MozillaEmbedEvent %p initialising", event) + event->priv->dom_event = nsnull; event->priv->props = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, free_g_value); @@ -180,6 +188,8 @@ mozilla_embed_event_finalize (GObject *object) event->priv->dom_event = nsnull; + LOG ("MozillaEmbedEvent %p finalised", object) + G_OBJECT_CLASS (parent_class)->finalize (object); } |