aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-07-04 22:37:17 +0800
committerChristian Persch <chpe@src.gnome.org>2003-07-04 22:37:17 +0800
commita43bf835284c7706a0567bb6954c1c46e1bdb1c1 (patch)
tree4b8947e0e8308384507e1afd108a408512105840 /src/bookmarks
parent0774d40cedbde3a4c8751d02e237f7b3b0e25572 (diff)
downloadgsoc2013-epiphany-a43bf835284c7706a0567bb6954c1c46e1bdb1c1.tar
gsoc2013-epiphany-a43bf835284c7706a0567bb6954c1c46e1bdb1c1.tar.gz
gsoc2013-epiphany-a43bf835284c7706a0567bb6954c1c46e1bdb1c1.tar.bz2
gsoc2013-epiphany-a43bf835284c7706a0567bb6954c1c46e1bdb1c1.tar.lz
gsoc2013-epiphany-a43bf835284c7706a0567bb6954c1c46e1bdb1c1.tar.xz
gsoc2013-epiphany-a43bf835284c7706a0567bb6954c1c46e1bdb1c1.tar.zst
gsoc2013-epiphany-a43bf835284c7706a0567bb6954c1c46e1bdb1c1.zip
Use g_list_prepend instead of g_list_append. Correct erroneous copyright
2003-07-04 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-menu.c: (add_bookmarks_menu): Use g_list_prepend instead of g_list_append. Correct erroneous copyright notice.
Diffstat (limited to 'src/bookmarks')
-rw-r--r--src/bookmarks/ephy-bookmarks-menu.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/bookmarks/ephy-bookmarks-menu.c b/src/bookmarks/ephy-bookmarks-menu.c
index 8a97387ff..9c02f9bdf 100644
--- a/src/bookmarks/ephy-bookmarks-menu.c
+++ b/src/bookmarks/ephy-bookmarks-menu.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2002 Ricardo Fernández Pascual
+ * Copyright (C) 2003 Marco Pesenti Gritti
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -193,8 +193,8 @@ add_bookmarks_menu (EphyBookmarksMenu *menu, EphyNode *node, GString *xml)
for (i = 0; i < children->len; ++i)
{
- node_list = g_list_append (node_list,
- g_ptr_array_index (children, i));
+ node_list = g_list_prepend (node_list,
+ g_ptr_array_index (children, i));
}
node_list = g_list_sort (node_list, (GCompareFunc)sort_bookmarks);
@@ -283,7 +283,7 @@ ephy_bookmarks_menu_rebuild (EphyBookmarksMenu *menu)
if (priority == EPHY_NODE_NORMAL_PRIORITY)
{
- node_list = g_list_append (node_list, kid);
+ node_list = g_list_prepend (node_list, kid);
}
}
ephy_node_thaw (topics);
@@ -394,7 +394,8 @@ ephy_bookmarks_menu_class_init (EphyBookmarksMenuClass *klass)
"EphyWindow",
"Parent window",
EPHY_WINDOW_TYPE,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE |
+ G_PARAM_CONSTRUCT_ONLY));
}
static gboolean