aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-node-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookmarks/ephy-node-view.c')
-rw-r--r--src/bookmarks/ephy-node-view.c18
1 files changed, 10 insertions, 8 deletions
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);