diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-01-23 06:14:47 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-01-30 22:02:11 +0800 |
commit | 7c02582ae70e45d58bf0966d60e23b50f854a06a (patch) | |
tree | 03ab0c4e1f6f4366cc86d821e2b3fb5654f17312 /modules/calendar/e-cal-shell-view-private.c | |
parent | c87e1fa77cfac438e07e7f7021ce1411be4355eb (diff) | |
download | gsoc2013-evolution-7c02582ae70e45d58bf0966d60e23b50f854a06a.tar.gz gsoc2013-evolution-7c02582ae70e45d58bf0966d60e23b50f854a06a.tar.zst gsoc2013-evolution-7c02582ae70e45d58bf0966d60e23b50f854a06a.zip |
Remove a bunch of dead code in GnomeCalendar.
Diffstat (limited to 'modules/calendar/e-cal-shell-view-private.c')
-rw-r--r-- | modules/calendar/e-cal-shell-view-private.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/modules/calendar/e-cal-shell-view-private.c b/modules/calendar/e-cal-shell-view-private.c index 0a12f73743..74a2bbcaf5 100644 --- a/modules/calendar/e-cal-shell-view-private.c +++ b/modules/calendar/e-cal-shell-view-private.c @@ -266,25 +266,6 @@ cal_shell_view_selector_popup_event_cb (EShellView *shell_view, } static void -cal_shell_view_selector_primary_changed_cb (ECalShellView *cal_shell_view, - ESourceSelector *selector) -{ - ECalShellContent *cal_shell_content; - GnomeCalendar *calendar; - ESource *source; - - /* XXX ESourceSelector -really- needs a "primary-selection" - * ESource property. Then we could just use EBindings. */ - - cal_shell_content = cal_shell_view->priv->cal_shell_content; - calendar = e_cal_shell_content_get_calendar (cal_shell_content); - source = e_source_selector_peek_primary_selection (selector); - - if (source != NULL) - gnome_calendar_set_default_source (calendar, source); -} - -static void cal_shell_view_selector_client_added_cb (ECalShellView *cal_shell_view, ECal *client) { @@ -537,11 +518,6 @@ e_cal_shell_view_private_constructed (ECalShellView *cal_shell_view) cal_shell_view); g_signal_connect_swapped ( - selector, "primary-selection-changed", - G_CALLBACK (cal_shell_view_selector_primary_changed_cb), - cal_shell_view); - - g_signal_connect_swapped ( cal_shell_sidebar, "client-added", G_CALLBACK (cal_shell_view_selector_client_added_cb), cal_shell_view); |