Remove files_deleted handler

Signed-off-by: Federico Mena Quintero <federico@gnu.org>

svn path=/trunk/; revision=19812
This commit is contained in:
Federico Mena Quintero 2008-03-13 00:32:05 +00:00 committed by Federico Mena Quintero
parent 340e9ac350
commit d254972b7a

View File

@ -122,9 +122,6 @@ static gboolean completion_match_func (GtkEntryCompletion *comp,
static void files_added_cb (GtkFileSystem *file_system,
GSList *added_uris,
GtkFileChooserEntry *chooser_entry);
static void files_deleted_cb (GtkFileSystem *file_system,
GSList *deleted_uris,
GtkFileChooserEntry *chooser_entry);
static char *maybe_append_separator_to_path (GtkFileChooserEntry *chooser_entry,
GtkFilePath *path,
gchar *display_name);
@ -241,8 +238,6 @@ gtk_file_chooser_entry_dispose (GObject *object)
{
g_signal_handlers_disconnect_by_func (chooser_entry->current_folder,
G_CALLBACK (files_added_cb), chooser_entry);
g_signal_handlers_disconnect_by_func (chooser_entry->current_folder,
G_CALLBACK (files_deleted_cb), chooser_entry);
g_object_unref (chooser_entry->current_folder);
chooser_entry->current_folder = NULL;
}
@ -672,14 +667,6 @@ files_added_cb (GtkFileSystem *file_system,
update_current_folder_files (chooser_entry, added_uris);
}
static void
files_deleted_cb (GtkFileSystem *file_system,
GSList *deleted_uris,
GtkFileChooserEntry *chooser_entry)
{
/* FIXME: gravy... */
}
static void
gtk_file_chooser_entry_do_insert_text (GtkEditable *editable,
const gchar *new_text,
@ -847,8 +834,6 @@ load_directory_get_folder_callback (GtkFileSystemHandle *handle,
g_signal_connect (chooser_entry->current_folder, "files-added",
G_CALLBACK (files_added_cb), chooser_entry);
g_signal_connect (chooser_entry->current_folder, "files-removed",
G_CALLBACK (files_deleted_cb), chooser_entry);
chooser_entry->completion_store = gtk_list_store_new (N_COLUMNS,
G_TYPE_STRING,
@ -904,8 +889,6 @@ reload_current_folder (GtkFileChooserEntry *chooser_entry,
{
g_signal_handlers_disconnect_by_func (chooser_entry->current_folder,
G_CALLBACK (files_added_cb), chooser_entry);
g_signal_handlers_disconnect_by_func (chooser_entry->current_folder,
G_CALLBACK (files_deleted_cb), chooser_entry);
if (chooser_entry->load_folder_handle)
{