[nautilus] files-view: remove unused merge/unmerge menus vfunc
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] files-view: remove unused merge/unmerge menus vfunc
- Date: Thu, 14 Apr 2016 08:46:06 +0000 (UTC)
commit 8c94bc54f8ff12b6e3591c9e20dfb1f0475e01ba
Author: Carlos Soriano <csoriano gnome org>
Date: Fri Mar 18 13:58:39 2016 +0100
files-view: remove unused merge/unmerge menus vfunc
https://bugzilla.gnome.org/show_bug.cgi?id=712620
src/nautilus-empty-view.c | 7 -------
src/nautilus-files-view.h | 7 -------
2 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/src/nautilus-empty-view.c b/src/nautilus-empty-view.c
index a600c88..2302c7c 100644
--- a/src/nautilus-empty-view.c
+++ b/src/nautilus-empty-view.c
@@ -128,12 +128,6 @@ nautilus_empty_view_reveal_selection (NautilusFilesView *view)
}
static void
-nautilus_empty_view_merge_menus (NautilusFilesView *view)
-{
- NAUTILUS_FILES_VIEW_CLASS (nautilus_empty_view_parent_class)->merge_menus (view);
-}
-
-static void
nautilus_empty_view_update_menus (NautilusFilesView *view)
{
NAUTILUS_FILES_VIEW_CLASS (nautilus_empty_view_parent_class)->update_menus (view);
@@ -255,7 +249,6 @@ nautilus_empty_view_class_init (NautilusEmptyViewClass *class)
nautilus_files_view_class->get_selection_for_file_transfer =
nautilus_empty_view_get_selection_for_file_transfer;
nautilus_files_view_class->is_empty = nautilus_empty_view_is_empty;
nautilus_files_view_class->remove_file = nautilus_empty_view_remove_file;
- nautilus_files_view_class->merge_menus = nautilus_empty_view_merge_menus;
nautilus_files_view_class->update_menus = nautilus_empty_view_update_menus;
nautilus_files_view_class->restore_default_zoom_level =
nautilus_empty_view_restore_default_zoom_level;
nautilus_files_view_class->reveal_selection = nautilus_empty_view_reveal_selection;
diff --git a/src/nautilus-files-view.h b/src/nautilus-files-view.h
index 5378a14..cbb4de8 100644
--- a/src/nautilus-files-view.h
+++ b/src/nautilus-files-view.h
@@ -201,13 +201,6 @@ struct NautilusFilesViewClass {
*/
void (* reveal_selection) (NautilusFilesView *view);
- /* merge_menus is a function pointer that subclasses can override to
- * add their own menu items to the window's menu bar.
- * If overridden, subclasses must call parent class's function.
- */
- void (* merge_menus) (NautilusFilesView *view);
- void (* unmerge_menus) (NautilusFilesView *view);
-
/* update_menus is a function pointer that subclasses can override to
* update the sensitivity or wording of menu items in the menu bar.
* It is called (at least) whenever the selection changes. If overridden,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]