aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-switcher.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-switcher.c')
-rw-r--r--shell/e-shell-switcher.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/e-shell-switcher.c b/shell/e-shell-switcher.c
index 191426e162..a4d6394660 100644
--- a/shell/e-shell-switcher.c
+++ b/shell/e-shell-switcher.c
@@ -33,6 +33,8 @@
#include <glib/gi18n.h>
#include <libebackend/libebackend.h>
+#include <e-util/e-util.h>
+
#define E_SHELL_SWITCHER_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE \
((obj), E_TYPE_SHELL_SWITCHER, EShellSwitcherPrivate))
@@ -377,7 +379,7 @@ shell_switcher_screen_changed (GtkWidget *widget,
if (settings != NULL) {
priv->settings = g_object_ref (settings);
- priv->settings_handler_id = g_signal_connect_swapped (
+ priv->settings_handler_id = e_signal_connect_notify_swapped (
settings, "notify::gtk-toolbar-style",
G_CALLBACK (shell_switcher_toolbar_style_changed_cb),
widget);