aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/bookmarks/ephy-node-view.c18
2 files changed, 16 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 4ab7a5a4f..3a675bea8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2003-02-28 Marco Pesenti Gritti <marco@it.gnome.org>
+ * src/bookmarks/ephy-node-view.c: (ephy_node_view_sort_func):
+
+ fix compilation
+
+2003-02-28 Marco Pesenti Gritti <marco@it.gnome.org>
+
* lib/ephy-start-here.c: (ephy_start_here_get_page):
cleaner xml dump code.
diff --git a/src/bookmarks/ephy-node-view.c b/src/bookmarks/ephy-node-view.c
index c67d66b04..b738adc7b 100644
--- a/src/bookmarks/ephy-node-view.c
+++ b/src/bookmarks/ephy-node-view.c
@@ -400,17 +400,19 @@ ephy_node_view_new (EphyNode *root,
static int
ephy_node_view_sort_func (GtkTreeModel *model,
- GtkTreeIter *a,
- GtkTreeIter *b,
- gpointer user_data)
+ GtkTreeIter *a,
+ GtkTreeIter *b,
+ gpointer user_data)
{
- g_return_val_if_fail (model != NULL, 0);
- g_return_val_if_fail (user_data != NULL, 0);
-
- GList *order = (GList *) user_data;
+ GList *order;
GList *l;
int retval = 0;
-
+
+ g_return_val_if_fail (model != NULL, 0);
+ g_return_val_if_fail (user_data != NULL, 0);
+
+ order = (GList *) user_data;
+
for (l = order; l != NULL && retval == 0; l = g_list_next (l))
{
EphyTreeModelNodeColumn column = GPOINTER_TO_INT (l->data);