aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-11 03:21:10 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-11 03:47:13 +0800
commit4f7b4d81e757bfed1b42b888207a0fdf6fae8533 (patch)
tree5c159ca51db5488c7e8c8cf1ab55fd48953ecf3d /shell/e-shell-window.h
parente51e1d6e4bbd6d33a841a87b15680c824adf8988 (diff)
downloadgsoc2013-evolution-4f7b4d81e757bfed1b42b888207a0fdf6fae8533.tar
gsoc2013-evolution-4f7b4d81e757bfed1b42b888207a0fdf6fae8533.tar.gz
gsoc2013-evolution-4f7b4d81e757bfed1b42b888207a0fdf6fae8533.tar.bz2
gsoc2013-evolution-4f7b4d81e757bfed1b42b888207a0fdf6fae8533.tar.lz
gsoc2013-evolution-4f7b4d81e757bfed1b42b888207a0fdf6fae8533.tar.xz
gsoc2013-evolution-4f7b4d81e757bfed1b42b888207a0fdf6fae8533.tar.zst
gsoc2013-evolution-4f7b4d81e757bfed1b42b888207a0fdf6fae8533.zip
Reimplement the main toolbar's "prefer-item" feature.
This fixes a bug in the old implementation where the application could crash after a second shell window was created and destroyed, because a signal handler with the destroyed shell window as the closure was left connected. But moreover this simplifies the implementation by using a property binding plus transform function instead of juggling signal handlers, and also adds code comments where things get a little tricky. Removed (now unused) functions: e_shell_window_get_toolbar_new_prefer_item e_shell_window_set_toolbar_new_prefer_item
Diffstat (limited to 'shell/e-shell-window.h')
-rw-r--r--shell/e-shell-window.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/shell/e-shell-window.h b/shell/e-shell-window.h
index abd940feb0..b96d2f6df5 100644
--- a/shell/e-shell-window.h
+++ b/shell/e-shell-window.h
@@ -134,11 +134,6 @@ gboolean e_shell_window_get_toolbar_visible
void e_shell_window_set_toolbar_visible
(EShellWindow *shell_window,
gboolean toolbar_visible);
-const gchar * e_shell_window_get_toolbar_new_prefer_item
- (EShellWindow *shell_window);
-void e_shell_window_set_toolbar_new_prefer_item
- (EShellWindow *shell_window,
- const gchar *prefer_item);
/* These should be called from the shell backend's window_created() handler. */