diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2013-04-08 19:03:47 -0400 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2013-04-08 19:03:47 -0400 |
commit | 8416d16669c58b2c7c9517857aa6eefbf8c82fd1 (patch) | |
tree | e0d12dfbd34399e8bc90ee102a89d7f8d10d65f8 /src/nautilus-list-view.h | |
parent | f2a3ef1d74fd7202763dbcf206a0e8b3fcd8b7d1 (diff) | |
download | nautilus-8416d16669c58b2c7c9517857aa6eefbf8c82fd1.tar.gz |
view: remove NautilusViewFactory
We stopped having pluggable views a long time ago; remove the factory
code completely in favor of a simple nautilus_view_new() that looks at
the specified view ID among the list of views we support.
Diffstat (limited to 'src/nautilus-list-view.h')
-rw-r--r-- | src/nautilus-list-view.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nautilus-list-view.h b/src/nautilus-list-view.h index fc5d2663c..91a26dd6f 100644 --- a/src/nautilus-list-view.h +++ b/src/nautilus-list-view.h @@ -41,8 +41,6 @@ #define NAUTILUS_LIST_VIEW_GET_CLASS(obj) \ (G_TYPE_INSTANCE_GET_CLASS ((obj), NAUTILUS_TYPE_LIST_VIEW, NautilusListViewClass)) -#define NAUTILUS_LIST_VIEW_ID "OAFIID:Nautilus_File_Manager_List_View" - typedef struct NautilusListViewDetails NautilusListViewDetails; typedef struct { @@ -55,7 +53,7 @@ typedef struct { } NautilusListViewClass; GType nautilus_list_view_get_type (void); -void nautilus_list_view_register (void); +NautilusView * nautilus_list_view_new (NautilusWindowSlot *slot); GtkTreeView* nautilus_list_view_get_tree_view (NautilusListView *list_view); #endif /* NAUTILUS_LIST_VIEW_H */ |