aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-03-31 21:41:36 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-04-01 00:10:54 +0800
commit440ea8e3a0b6689d49efae2e9be3471327cb782d (patch)
treef039f09054b4adf79cbcf02b04d5891b4591f9a4 /shell
parent15fbc1654e16f3d2a4c6b55b01dc2a76596b07ba (diff)
downloadgsoc2013-evolution-440ea8e3a0b6689d49efae2e9be3471327cb782d.tar
gsoc2013-evolution-440ea8e3a0b6689d49efae2e9be3471327cb782d.tar.gz
gsoc2013-evolution-440ea8e3a0b6689d49efae2e9be3471327cb782d.tar.bz2
gsoc2013-evolution-440ea8e3a0b6689d49efae2e9be3471327cb782d.tar.lz
gsoc2013-evolution-440ea8e3a0b6689d49efae2e9be3471327cb782d.tar.xz
gsoc2013-evolution-440ea8e3a0b6689d49efae2e9be3471327cb782d.tar.zst
gsoc2013-evolution-440ea8e3a0b6689d49efae2e9be3471327cb782d.zip
Remove e_shell_configure_ui_manager().
No longer needed.
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell-utils.c22
-rw-r--r--shell/e-shell-utils.h3
-rw-r--r--shell/e-shell-window-private.c1
3 files changed, 0 insertions, 26 deletions
diff --git a/shell/e-shell-utils.c b/shell/e-shell-utils.c
index 1bdc82913d..f289b36e01 100644
--- a/shell/e-shell-utils.c
+++ b/shell/e-shell-utils.c
@@ -36,28 +36,6 @@
#include <libedataserver/libedataserver.h>
/**
- * e_shell_configure_ui_manager:
- * @shell: an #EShell
- * @ui_manager: an #EUIManager
- *
- * Adds shell integration to @ui_manager. In particular, it keeps
- * @ui_manager's EUIManager:express-mode property synchronized with
- * @shell's EShell:express-mode property.
- **/
-void
-e_shell_configure_ui_manager (EShell *shell,
- EUIManager *ui_manager)
-{
- g_return_if_fail (E_IS_SHELL (shell));
- g_return_if_fail (E_IS_UI_MANAGER (ui_manager));
-
- g_object_bind_property (
- shell, "express-mode",
- ui_manager, "express-mode",
- G_BINDING_SYNC_CREATE);
-}
-
-/**
* e_shell_run_open_dialog:
* @shell: an #EShell
* @title: file chooser dialog title
diff --git a/shell/e-shell-utils.h b/shell/e-shell-utils.h
index fb33c3c33b..be0f4b48c2 100644
--- a/shell/e-shell-utils.h
+++ b/shell/e-shell-utils.h
@@ -26,9 +26,6 @@
G_BEGIN_DECLS
-void e_shell_configure_ui_manager (EShell *shell,
- EUIManager *ui_manager);
-
GFile * e_shell_run_open_dialog (EShell *shell,
const gchar *title,
GtkCallback customize_func,
diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c
index 6bea8686b9..69e3ff24ad 100644
--- a/shell/e-shell-window-private.c
+++ b/shell/e-shell-window-private.c
@@ -272,7 +272,6 @@ e_shell_window_private_constructed (EShellWindow *shell_window)
shell = e_shell_window_get_shell (shell_window);
ui_manager = e_shell_window_get_ui_manager (shell_window);
- e_shell_configure_ui_manager (shell, E_UI_MANAGER (ui_manager));
/* Defer actions and menu merging until we have set express mode */