[nautilus/refactor] view: remove unused flush_added_files signal
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/refactor] view: remove unused flush_added_files signal
- Date: Fri, 31 Dec 2010 16:43:04 +0000 (UTC)
commit 98b913daff25b77ceae5b0d3c0ac7cf2ff86a5e9
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Dec 31 17:32:43 2010 +0100
view: remove unused flush_added_files signal
src/file-manager/fm-icon-view.c | 7 -------
src/nautilus-view.c | 9 ---------
src/nautilus-view.h | 2 --
3 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/src/file-manager/fm-icon-view.c b/src/file-manager/fm-icon-view.c
index 2fdba6e..d4fad01 100644
--- a/src/file-manager/fm-icon-view.c
+++ b/src/file-manager/fm-icon-view.c
@@ -598,12 +598,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)
{
FMIconView *icon_view;
@@ -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;
diff --git a/src/nautilus-view.c b/src/nautilus-view.c
index 481b5dc..6cd5eb5 100644
--- a/src/nautilus-view.c
+++ b/src/nautilus-view.c
@@ -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),
diff --git a/src/nautilus-view.h b/src/nautilus-view.h
index 610c853..2ebcc4e 100644
--- a/src/nautilus-view.h
+++ b/src/nautilus-view.h
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]