Skip to content
Permalink
Browse files

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 "
  • Loading branch information...
lukefromdc committed Jul 12, 2018
1 parent f9bae2f commit a2fa06f9d11a6cc93ea999dc100a3e57bc5762d0
Showing with 0 additions and 31 deletions.
  1. +0 −31 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.

0 comments on commit a2fa06f

Please sign in to comment.
You can’t perform that action at this time.