From 20e8489d18cefffcf11550ad244b7538c35b37ef Mon Sep 17 00:00:00 2001 From: Tobias Mueller Date: Sun, 17 Jun 2007 13:59:46 +0000 Subject: removed createControls stuff. Fixes #444289 2007-06-17 Tobias Mueller * evolution-test-component.c: removed createControls stuff. Fixes #444289 svn path=/trunk/; revision=33683 --- shell/ChangeLog | 5 +++++ shell/evolution-test-component.c | 34 ---------------------------------- 2 files changed, 5 insertions(+), 34 deletions(-) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index 965226e075..036f3d0f44 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2007-06-17 Tobias Mueller + + * evolution-test-component.c: + removed createControls stuff. Fixes #444289 + 2007-06-15 Matthew Barnes * e-shell-folder-title-bar.c: diff --git a/shell/evolution-test-component.c b/shell/evolution-test-component.c index 2fd140b032..8e1ffdcd16 100644 --- a/shell/evolution-test-component.c +++ b/shell/evolution-test-component.c @@ -90,39 +90,6 @@ impl_upgradeFromVersion (PortableServer_Servant servant, return CORBA_TRUE; } -static void -impl_createControls (PortableServer_Servant servant, - Bonobo_Control *corba_sidebar_control, - Bonobo_Control *corba_view_control, - Bonobo_Control *corba_statusbar_control, - CORBA_Environment *ev) -{ - EvolutionTestComponent *component = EVOLUTION_TEST_COMPONENT (bonobo_object_from_servant (servant)); - EvolutionTestComponentPrivate *priv; - GtkWidget *label, *bar; - - priv = component->priv; - - /* Sidebar */ - label = gtk_label_new ("Side Bar Control"); - gtk_widget_show (label); - priv->sidebar_control = bonobo_control_new (label); - - /* View */ - label = gtk_label_new ("View Control"); - gtk_widget_show (label); - priv->view_control = bonobo_control_new (label); - - /* Status bar */ - bar = e_task_bar_new (); - gtk_widget_show (bar); - priv->status_control = bonobo_control_new (bar); - - /* Return the controls */ - *corba_sidebar_control = CORBA_Object_duplicate (BONOBO_OBJREF (priv->sidebar_control), ev); - *corba_view_control = CORBA_Object_duplicate (BONOBO_OBJREF (priv->view_control), ev); - *corba_statusbar_control = CORBA_Object_duplicate (BONOBO_OBJREF (priv->status_control), ev); -} static GNOME_Evolution_CreatableItemTypeList * impl__get_userCreatableItems (PortableServer_Servant servant, @@ -175,7 +142,6 @@ evolution_test_component_class_init (EvolutionTestComponentClass *klass) parent_class = g_type_class_peek_parent (klass); epv->upgradeFromVersion = impl_upgradeFromVersion; - epv->createControls = impl_createControls; epv->_get_userCreatableItems = impl__get_userCreatableItems; epv->requestCreateItem = impl_requestCreateItem; -- cgit v1.2.3