diff options
author | Diego Escalante Urrelo <diegoe@svn.gnome.org> | 2007-01-09 06:53:47 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@src.gnome.org> | 2007-01-09 06:53:47 +0800 |
commit | eeae242437aca16e9b7d6d6cc45f3e5bf90f4aaa (patch) | |
tree | 38e9a58032427b032aa55b37a78b5c5538218bcf /src/bookmarks | |
parent | a090eff785cd6c75eb70905b91adea159d64d648 (diff) | |
download | gsoc2013-epiphany-eeae242437aca16e9b7d6d6cc45f3e5bf90f4aaa.tar.gz gsoc2013-epiphany-eeae242437aca16e9b7d6d6cc45f3e5bf90f4aaa.tar.zst gsoc2013-epiphany-eeae242437aca16e9b7d6d6cc45f3e5bf90f4aaa.zip |
Workaround/semi-fix for bug #351814. The real cause of the problem is the
2007-01-08 Diego Escalante Urrelo <diegoe@svn.gnome.org>
* src/bookmarks/ephy-bookmarks-editor.c:
* lib/widgets/ephy-node-view.c:
Workaround/semi-fix for bug #351814. The real cause of the problem is
the user_data that is never set on a GtkTreeIter, so the Ephy
implementation of the tree makes it to have a stamp of 0 being that
way an invalid iter. Patch by Diego Escalante Urrelo.
svn path=/trunk/; revision=6796
Diffstat (limited to 'src/bookmarks')
-rw-r--r-- | src/bookmarks/ephy-bookmarks-editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c index 5d637c080..b10a87bb2 100644 --- a/src/bookmarks/ephy-bookmarks-editor.c +++ b/src/bookmarks/ephy-bookmarks-editor.c @@ -1366,7 +1366,7 @@ ephy_bookmarks_editor_update_menu (EphyBookmarksEditor *editor) EphyNode *node = selected->data; char name[EPHY_BOOKMARK_ACTION_NAME_BUFFER_SIZE]; - g_return_if_fail (node != NULL); + if (node == NULL) return; mutable = !ephy_node_get_property_boolean (node, EPHY_NODE_BMK_PROP_IMMUTABLE); |