aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-02-28 20:40:12 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-02-28 20:40:12 +0800
commitfac2687f27d75671ce94177f020063404a4a45a2 (patch)
treefa0f9e761edaf9a646fd798f129bf06c10cdca1e /src
parent9f7e8afa6de9c9a643d727f791160ce11cff7044 (diff)
downloadgsoc2013-epiphany-fac2687f27d75671ce94177f020063404a4a45a2.tar
gsoc2013-epiphany-fac2687f27d75671ce94177f020063404a4a45a2.tar.gz
gsoc2013-epiphany-fac2687f27d75671ce94177f020063404a4a45a2.tar.bz2
gsoc2013-epiphany-fac2687f27d75671ce94177f020063404a4a45a2.tar.lz
gsoc2013-epiphany-fac2687f27d75671ce94177f020063404a4a45a2.tar.xz
gsoc2013-epiphany-fac2687f27d75671ce94177f020063404a4a45a2.tar.zst
gsoc2013-epiphany-fac2687f27d75671ce94177f020063404a4a45a2.zip
fix compilation
2003-02-28 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-node-view.c: (ephy_node_view_sort_func): fix compilation
Diffstat (limited to 'src')
-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);