Skip to content

Commit

Permalink
caja-directory.c: fix build warning
Browse files Browse the repository at this point in the history
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 a2fa06f
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions libcaja-private/caja-directory.c
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit a2fa06f

Please sign in to comment.