aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@svn.gnome.org>2007-01-10 16:19:42 +0800
committerDiego Escalante Urrelo <diegoe@src.gnome.org>2007-01-10 16:19:42 +0800
commit2c0306e7ce8323e3c7111459424d40239de582f4 (patch)
tree9aaf0b1e4a2c97a1864495e69b3fc1e0dd633fb8 /src/bookmarks
parentc10006a89f73a6ef7b27a06fdae0368fb4787cbb (diff)
downloadgsoc2013-epiphany-2c0306e7ce8323e3c7111459424d40239de582f4.tar
gsoc2013-epiphany-2c0306e7ce8323e3c7111459424d40239de582f4.tar.gz
gsoc2013-epiphany-2c0306e7ce8323e3c7111459424d40239de582f4.tar.bz2
gsoc2013-epiphany-2c0306e7ce8323e3c7111459424d40239de582f4.tar.lz
gsoc2013-epiphany-2c0306e7ce8323e3c7111459424d40239de582f4.tar.xz
gsoc2013-epiphany-2c0306e7ce8323e3c7111459424d40239de582f4.tar.zst
gsoc2013-epiphany-2c0306e7ce8323e3c7111459424d40239de582f4.zip
Fixes compilation with gcc 2. Bug #394699. Patch by Jens Granseuer.
2007-01-10 Diego Escalante Urrelo <diegoe@svn.gnome.org> * src/bookmarks/ephy-bookmarks-ui.c: Fixes compilation with gcc 2. Bug #394699. Patch by Jens Granseuer. svn path=/trunk/; revision=6817
Diffstat (limited to 'src/bookmarks')
-rw-r--r--src/bookmarks/ephy-bookmarks-ui.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bookmarks/ephy-bookmarks-ui.c b/src/bookmarks/ephy-bookmarks-ui.c
index bab58195f..0ccf793bd 100644
--- a/src/bookmarks/ephy-bookmarks-ui.c
+++ b/src/bookmarks/ephy-bookmarks-ui.c
@@ -432,12 +432,11 @@ ephy_bookmarks_ui_add_bookmark (GtkWindow *parent,
const char *location,
const char *title)
{
-
- if (eel_gconf_get_boolean (CONF_LOCKDOWN_DISABLE_BOOKMARK_EDITING)) return;
-
EphyBookmarks *bookmarks;
EphyNode *bookmark;
GtkWidget *dialog;
+
+ if (eel_gconf_get_boolean (CONF_LOCKDOWN_DISABLE_BOOKMARK_EDITING)) return;
bookmarks = ephy_shell_get_bookmarks (ephy_shell_get_default ());
bookmark = ephy_bookmarks_add (bookmarks, title, location);