From 7d40462d35d3bf825a0ee142cb9e83f52a59e3fc Mon Sep 17 00:00:00 2001 From: jcid Date: Sat, 10 Nov 2007 23:21:06 +0100 Subject: Reimplemented html.cc using a class, removed the linkblock, and hooked memory-release to dw destruction. --- src/plain.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/plain.cc') diff --git a/src/plain.cc b/src/plain.cc index 586d42d4..0fc5dab8 100644 --- a/src/plain.cc +++ b/src/plain.cc @@ -91,7 +91,7 @@ DilloPlain::DilloPlain(BrowserWindow *p_bw, const DilloUrl *p_url) style::StyleAttrs styleAttrs; style::FontAttrs fontAttrs; - /* init event receiver */ + /* Init event receiver */ plainReceiver.plain = this; /* Init internal variables */ @@ -128,6 +128,7 @@ DilloPlain::DilloPlain(BrowserWindow *p_bw, const DilloUrl *p_url) */ DilloPlain::~DilloPlain() { + MSG("::~DilloPlain()\n"); a_Url_free(url); widgetStyle->unref(); } @@ -136,7 +137,7 @@ DilloPlain::~DilloPlain() * Receive the mouse button press event */ bool DilloPlain::PlainEventReceiver::buttonPress (Widget *widget, - EventButton *event) + EventButton *event) { _MSG("DilloPlain::PlainEventReceiver::buttonPress\n"); -- cgit v1.2.3