From a2fa06f9d11a6cc93ea999dc100a3e57bc5762d0 Mon Sep 17 00:00:00 2001 From: lukefromdc Date: Thu, 12 Jul 2018 14:31:35 -0400 Subject: caja-directory.c: fix build warning Remove two functions now unused after github.com/mate-desktop/caja/commit/191aa3992171c84134f0359a960e5bebc7bfeca4 "libcaja-private: remove redundant prefs application to hash table " --- libcaja-private/caja-directory.c | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/libcaja-private/caja-directory.c b/libcaja-private/caja-directory.c index 51acc747..a875940c 100644 --- a/libcaja-private/caja-directory.c +++ b/libcaja-private/caja-directory.c @@ -212,20 +212,6 @@ caja_directory_finalize (GObject *object) EEL_CALL_PARENT (G_OBJECT_CLASS, finalize, (object)); } -static void -invalidate_one_count (gpointer key, gpointer value, gpointer user_data) -{ - CajaDirectory *directory; - - g_assert (key != NULL); - g_assert (CAJA_IS_DIRECTORY (value)); - g_assert (user_data == NULL); - - directory = CAJA_DIRECTORY (value); - - caja_directory_invalidate_count_and_mime_list (directory); -} - void emit_change_signals_for_all_files (CajaDirectory *directory) { @@ -276,23 +262,6 @@ emit_change_signals_for_all_files_in_all_directories (void) g_list_free (dirs); } -static void -async_state_changed_one (gpointer key, gpointer value, gpointer user_data) -{ - CajaDirectory *directory; - - g_assert (key != NULL); - g_assert (CAJA_IS_DIRECTORY (value)); - g_assert (user_data == NULL); - - directory = CAJA_DIRECTORY (value); - - caja_directory_async_state_changed (directory); - emit_change_signals_for_all_files (directory); -} - - - /** * caja_directory_get_by_uri: * @uri: URI of directory to get. -- cgit v1.2.1