aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EventContext.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-09-27 00:50:32 +0800
committerChristian Persch <chpe@src.gnome.org>2004-09-27 00:50:32 +0800
commitd66a3acaab3c670737d59d002186881855aa582a (patch)
tree27fdd6976ed8865030ec07449d06185f86a50d7a /embed/mozilla/EventContext.cpp
parent3a641a3b7a25d5ae85eaf5c3f1911c6033ea1e15 (diff)
downloadgsoc2013-epiphany-d66a3acaab3c670737d59d002186881855aa582a.tar
gsoc2013-epiphany-d66a3acaab3c670737d59d002186881855aa582a.tar.gz
gsoc2013-epiphany-d66a3acaab3c670737d59d002186881855aa582a.tar.bz2
gsoc2013-epiphany-d66a3acaab3c670737d59d002186881855aa582a.tar.lz
gsoc2013-epiphany-d66a3acaab3c670737d59d002186881855aa582a.tar.xz
gsoc2013-epiphany-d66a3acaab3c670737d59d002186881855aa582a.tar.zst
gsoc2013-epiphany-d66a3acaab3c670737d59d002186881855aa582a.zip
Fix compiler warnings.
2004-09-26 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/mozilla-notifiers.cpp: * lib/egg/eggtrayicon.h: Fix compiler warnings. * src/ephy-window.c: (hide_embed_popup_cb), (show_embed_popup): Fix a signal leak.
Diffstat (limited to 'embed/mozilla/EventContext.cpp')
-rw-r--r--embed/mozilla/EventContext.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/embed/mozilla/EventContext.cpp b/embed/mozilla/EventContext.cpp
index c3891bc5f..dbe89959b 100644
--- a/embed/mozilla/EventContext.cpp
+++ b/embed/mozilla/EventContext.cpp
@@ -142,7 +142,6 @@ nsresult EventContext::GatherTextUnder (nsIDOMNode* aNode, nsAString& aResult)
}
else
{
- nsCOMPtr<nsIDOMNode> nextSibling;
parentNode->GetNextSibling(getter_AddRefs(nextSibling));
node = nextSibling;
depth--;
@@ -371,7 +370,6 @@ nsresult EventContext::GetEventContext (nsIDOMEventTarget *EventTarget,
}
}
- PRUint16 type;
rv = node->GetNodeType(&type);
if (NS_FAILED(rv)) return NS_ERROR_FAILURE;