aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-cal-shell-view-private.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-07-06 01:26:43 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-07-06 04:40:50 +0800
commitdf1dc37704daf3b1f20d1632b1cef1ea0a2181ad (patch)
tree18f00ac12457a5e1f9a5cf2bb2b9db482a150d96 /modules/calendar/e-cal-shell-view-private.c
parent7bb795b299758e6a81536b81c19693f353106105 (diff)
downloadgsoc2013-evolution-df1dc37704daf3b1f20d1632b1cef1ea0a2181ad.tar
gsoc2013-evolution-df1dc37704daf3b1f20d1632b1cef1ea0a2181ad.tar.gz
gsoc2013-evolution-df1dc37704daf3b1f20d1632b1cef1ea0a2181ad.tar.bz2
gsoc2013-evolution-df1dc37704daf3b1f20d1632b1cef1ea0a2181ad.tar.lz
gsoc2013-evolution-df1dc37704daf3b1f20d1632b1cef1ea0a2181ad.tar.xz
gsoc2013-evolution-df1dc37704daf3b1f20d1632b1cef1ea0a2181ad.tar.zst
gsoc2013-evolution-df1dc37704daf3b1f20d1632b1cef1ea0a2181ad.zip
EShellView can load the GalViewCollection itself now.
EShellView no longer needs help from subclasses other than getting the needed GalView subclasses registered. A nice side-effect of this is EShellView subclasses can now use the G_DEFINE_DYNAMIC_TYPE macro.
Diffstat (limited to 'modules/calendar/e-cal-shell-view-private.c')
-rw-r--r--modules/calendar/e-cal-shell-view-private.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/calendar/e-cal-shell-view-private.c b/modules/calendar/e-cal-shell-view-private.c
index f559241138..6c32136d2e 100644
--- a/modules/calendar/e-cal-shell-view-private.c
+++ b/modules/calendar/e-cal-shell-view-private.c
@@ -430,12 +430,8 @@ cal_shell_view_notify_view_id_cb (EShellView *shell_view)
}
void
-e_cal_shell_view_private_init (ECalShellView *cal_shell_view,
- EShellViewClass *shell_view_class)
+e_cal_shell_view_private_init (ECalShellView *cal_shell_view)
{
- if (!gal_view_collection_loaded (shell_view_class->view_collection))
- gal_view_collection_load (shell_view_class->view_collection);
-
g_signal_connect (
cal_shell_view, "notify::view-id",
G_CALLBACK (cal_shell_view_notify_view_id_cb), NULL);