From 1bed00795bf092ad6e9e076eccf7cc2a8c20cb27 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 6 Oct 2008 17:41:31 +0000 Subject: Baseline cut at the Calendar sidebar and module. Pretty much identical to Tasks and Memos so far. Now for the interesting part... svn path=/branches/kill-bonobo/; revision=36573 --- calendar/gui/memos-component.c | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'calendar/gui/memos-component.c') diff --git a/calendar/gui/memos-component.c b/calendar/gui/memos-component.c index 310e8d4351..51afab099f 100644 --- a/calendar/gui/memos-component.c +++ b/calendar/gui/memos-component.c @@ -157,29 +157,6 @@ source_selection_changed_cb (ESourceSelector *selector, MemosComponentView *comp /* Evolution::Component CORBA methods */ -static void -impl_upgradeFromVersion (PortableServer_Servant servant, - CORBA_short major, - CORBA_short minor, - CORBA_short revision, - CORBA_Environment *ev) -{ - GError *err = NULL; - MemosComponent *component = MEMOS_COMPONENT (bonobo_object_from_servant (servant)); - - if (!migrate_memos(component, major, minor, revision, &err)) { - GNOME_Evolution_Component_UpgradeFailed *failedex; - - failedex = GNOME_Evolution_Component_UpgradeFailed__alloc(); - failedex->what = CORBA_string_dup(_("Failed upgrading memos.")); - failedex->why = CORBA_string_dup(err->message); - CORBA_exception_set(ev, CORBA_USER_EXCEPTION, ex_GNOME_Evolution_Component_UpgradeFailed, failedex); - } - - if (err) - g_error_free(err); -} - static gboolean update_single_object (ECal *client, icalcomponent *icalcomp, gboolean fail_on_modify) { -- cgit