Commit d0985e6d authored by Cosimo Cecchi's avatar Cosimo Cecchi

view: remove unused flush_added_files signal

parent 7a4af383
......@@ -597,12 +597,6 @@ fm_icon_view_add_file (FMDirectoryView *view, NautilusFile *file, NautilusDirect
}
}
static void
fm_icon_view_flush_added_files (FMDirectoryView *view)
{
nautilus_icon_container_layout_now (get_icon_container (FM_ICON_VIEW (view)));
}
static void
fm_icon_view_file_changed (FMDirectoryView *view, NautilusFile *file, NautilusDirectory *directory)
{
......@@ -2962,7 +2956,6 @@ fm_icon_view_class_init (FMIconViewClass *klass)
GTK_WIDGET_CLASS (klass)->scroll_event = fm_icon_view_scroll_event;
fm_directory_view_class->add_file = fm_icon_view_add_file;
fm_directory_view_class->flush_added_files = fm_icon_view_flush_added_files;
fm_directory_view_class->begin_loading = fm_icon_view_begin_loading;
fm_directory_view_class->bump_zoom_level = fm_icon_view_bump_zoom_level;
fm_directory_view_class->can_rename_file = fm_icon_view_can_rename_file;
......
......@@ -130,7 +130,6 @@ enum {
BEGIN_LOADING,
CLEAR,
END_FILE_CHANGES,
FLUSH_ADDED_FILES,
END_LOADING,
FILE_CHANGED,
LOAD_ERROR,
......@@ -9927,14 +9926,6 @@ fm_directory_view_class_init (FMDirectoryViewClass *klass)
NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
signals[FLUSH_ADDED_FILES] =
g_signal_new ("flush_added_files",
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (FMDirectoryViewClass, flush_added_files),
NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
signals[END_LOADING] =
g_signal_new ("end_loading",
G_TYPE_FROM_CLASS (klass),
......
......@@ -110,8 +110,6 @@ struct FMDirectoryViewClass {
*/
void (* end_file_changes) (FMDirectoryView *view);
void (* flush_added_files) (FMDirectoryView *view);
/* The 'begin_loading' signal is emitted before any of the contents
* of a directory are added to the view. It can be replaced by a
* subclass to do any necessary preparation to start dealing with a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment