[nautilus] window: fix GCC warning



commit 83cbd434355957eaa5996bb14b9c673affb1598f
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Jan 20 11:17:27 2015 -0800

    window: fix GCC warning

 src/nautilus-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index ac78022..acfb9a2 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -1570,7 +1570,7 @@ nautilus_window_destroy (GtkWidget *object)
        if (window->details->active_slot != NULL) {
                /* Make sure active slot is last one to be closed, to avoid default activation
                 * of others slots when closing the active one, see bug #741952  */
-               slots_copy = g_list_sort_with_data (slots_copy, (GCompareFunc) sort_slots_active_last, 
window);
+               slots_copy = g_list_sort_with_data (slots_copy, (GCompareDataFunc) sort_slots_active_last, 
window);
        }
        g_list_foreach (slots_copy, (GFunc) destroy_slots_foreach, window);
        g_list_free (slots_copy);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]