[Xfce4-commits] <midori:master> Assert if element is unset in formhistory_editbox_key_pressed_cb
Christian Dywan
noreply at xfce.org
Mon Feb 13 00:30:03 CET 2012
Updating branch refs/heads/master
to 3aa37f7953836548e28b8bedf2c148b6bc39e5ea (commit)
from cad539dfed0c49dae36e0f2292ed55967d433c5b (commit)
commit 3aa37f7953836548e28b8bedf2c148b6bc39e5ea
Author: Christian Dywan <christian at twotoasts.de>
Date: Mon Feb 13 00:27:01 2012 +0100
Assert if element is unset in formhistory_editbox_key_pressed_cb
extensions/formhistory/formhistory-gdom-frontend.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/extensions/formhistory/formhistory-gdom-frontend.c b/extensions/formhistory/formhistory-gdom-frontend.c
index 6e7f114..401477c 100644
--- a/extensions/formhistory/formhistory-gdom-frontend.c
+++ b/extensions/formhistory/formhistory-gdom-frontend.c
@@ -259,8 +259,8 @@ formhistory_editbox_key_pressed_cb (WebKitDOMElement* element,
gint matches;
/* FIXME: Priv is still set after module is disabled */
- if (!priv)
- return;
+ g_return_if_fail (priv);
+ g_return_if_fail (priv->element);
if (priv->completion_timeout > 0)
g_source_remove (priv->completion_timeout);
More information about the Xfce4-commits
mailing list