diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-02-28 20:40:12 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-02-28 20:40:12 +0800 |
commit | fac2687f27d75671ce94177f020063404a4a45a2 (patch) | |
tree | fa0f9e761edaf9a646fd798f129bf06c10cdca1e /src/bookmarks/ephy-node-view.c | |
parent | 9f7e8afa6de9c9a643d727f791160ce11cff7044 (diff) | |
download | gsoc2013-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/bookmarks/ephy-node-view.c')
-rw-r--r-- | src/bookmarks/ephy-node-view.c | 18 |
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); |