aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/calendar/e-cal-shell-sidebar.c2
-rw-r--r--modules/calendar/e-memo-shell-sidebar.c2
-rw-r--r--modules/calendar/e-task-shell-sidebar.c2
-rw-r--r--plugins/caldav/caldav-source.c4
4 files changed, 2 insertions, 8 deletions
diff --git a/modules/calendar/e-cal-shell-sidebar.c b/modules/calendar/e-cal-shell-sidebar.c
index 3b78afa0d3..b2801344a8 100644
--- a/modules/calendar/e-cal-shell-sidebar.c
+++ b/modules/calendar/e-cal-shell-sidebar.c
@@ -230,12 +230,10 @@ cal_shell_sidebar_default_opened_cb (ECalShellSidebar *cal_shell_sidebar,
ECal *client)
{
EShellView *shell_view;
- EShellWindow *shell_window;
EShellSidebar *shell_sidebar;
shell_sidebar = E_SHELL_SIDEBAR (cal_shell_sidebar);
shell_view = e_shell_sidebar_get_shell_view (shell_sidebar);
- shell_window = e_shell_view_get_shell_window (shell_view);
if (status == E_CALENDAR_STATUS_AUTHENTICATION_FAILED ||
status == E_CALENDAR_STATUS_AUTHENTICATION_REQUIRED)
diff --git a/modules/calendar/e-memo-shell-sidebar.c b/modules/calendar/e-memo-shell-sidebar.c
index 7ce7441eec..e9c40a44b4 100644
--- a/modules/calendar/e-memo-shell-sidebar.c
+++ b/modules/calendar/e-memo-shell-sidebar.c
@@ -225,12 +225,10 @@ memo_shell_sidebar_default_opened_cb (EMemoShellSidebar *memo_shell_sidebar,
ECal *client)
{
EShellView *shell_view;
- EShellWindow *shell_window;
EShellSidebar *shell_sidebar;
shell_sidebar = E_SHELL_SIDEBAR (memo_shell_sidebar);
shell_view = e_shell_sidebar_get_shell_view (shell_sidebar);
- shell_window = e_shell_view_get_shell_window (shell_view);
if (status == E_CALENDAR_STATUS_AUTHENTICATION_FAILED ||
status == E_CALENDAR_STATUS_AUTHENTICATION_REQUIRED)
diff --git a/modules/calendar/e-task-shell-sidebar.c b/modules/calendar/e-task-shell-sidebar.c
index 347c64b8b3..206fa09a64 100644
--- a/modules/calendar/e-task-shell-sidebar.c
+++ b/modules/calendar/e-task-shell-sidebar.c
@@ -225,12 +225,10 @@ task_shell_sidebar_default_opened_cb (ETaskShellSidebar *task_shell_sidebar,
ECal *client)
{
EShellView *shell_view;
- EShellWindow *shell_window;
EShellSidebar *shell_sidebar;
shell_sidebar = E_SHELL_SIDEBAR (task_shell_sidebar);
shell_view = e_shell_sidebar_get_shell_view (shell_sidebar);
- shell_window = e_shell_view_get_shell_window (shell_view);
if (status == E_CALENDAR_STATUS_AUTHENTICATION_FAILED ||
status == E_CALENDAR_STATUS_AUTHENTICATION_REQUIRED)
diff --git a/plugins/caldav/caldav-source.c b/plugins/caldav/caldav-source.c
index d2bc2f6a16..5691fdde45 100644
--- a/plugins/caldav/caldav-source.c
+++ b/plugins/caldav/caldav-source.c
@@ -183,7 +183,7 @@ oge_caldav (EPlugin *epl,
ECalConfigTargetSource *t = (ECalConfigTargetSource *) data->target;
ESource *source;
SoupURI *suri;
- GtkWidget *parent, *location, *ssl, *user, *browse_cal, *refresh;
+ GtkWidget *parent, *location, *ssl, *user, *browse_cal;
gchar *uri, *username;
source = t->source;
@@ -234,7 +234,7 @@ oge_caldav (EPlugin *epl,
g_object_set_data (G_OBJECT (browse_cal), "caldav-ssl", ssl);
g_signal_connect (G_OBJECT (browse_cal), "clicked", G_CALLBACK (browse_cal_clicked_cb), GINT_TO_POINTER (t->source_type));
- refresh = e_plugin_util_add_refresh (parent, _("Re_fresh:"), source, "refresh");
+ e_plugin_util_add_refresh (parent, _("Re_fresh:"), source, "refresh");
return location;
}