diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/widgets/ephy-node-view.c | 3 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2003-08-24 Christian Persch <chpe@cvs.gnome.org> + + * lib/widgets/ephy-node-view.c: (ephy_node_view_remove): + + Convert erroneous g_return_if_fail into a simple conditional return. + 2003-08-23 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyWrapper.cpp: (SetZoomOnDocshell): diff --git a/lib/widgets/ephy-node-view.c b/lib/widgets/ephy-node-view.c index 5bd528fcc..8b1f09e0c 100644 --- a/lib/widgets/ephy-node-view.c +++ b/lib/widgets/ephy-node-view.c @@ -1370,7 +1370,8 @@ ephy_node_view_remove (EphyNodeView *view) */ list = ephy_node_view_get_selection (view); - g_return_if_fail (list != NULL); + if (list == NULL) return; + node = g_list_first (list)->data; ephy_tree_model_node_iter_from_node (EPHY_TREE_MODEL_NODE (view->priv->nodemodel), node, &iter); |