aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorTobias Mueller <tobiasmue@svn.gnome.org>2007-06-17 21:59:46 +0800
committerTobias Mueller <tobiasmue@src.gnome.org>2007-06-17 21:59:46 +0800
commit20e8489d18cefffcf11550ad244b7538c35b37ef (patch)
tree8d1ffd38e83d3613d9785f82dfae264b2f66af46 /shell
parent2c3588dfb263049299224e52a38f264369c84b7b (diff)
downloadgsoc2013-evolution-20e8489d18cefffcf11550ad244b7538c35b37ef.tar
gsoc2013-evolution-20e8489d18cefffcf11550ad244b7538c35b37ef.tar.gz
gsoc2013-evolution-20e8489d18cefffcf11550ad244b7538c35b37ef.tar.bz2
gsoc2013-evolution-20e8489d18cefffcf11550ad244b7538c35b37ef.tar.lz
gsoc2013-evolution-20e8489d18cefffcf11550ad244b7538c35b37ef.tar.xz
gsoc2013-evolution-20e8489d18cefffcf11550ad244b7538c35b37ef.tar.zst
gsoc2013-evolution-20e8489d18cefffcf11550ad244b7538c35b37ef.zip
removed createControls stuff. Fixes #444289
2007-06-17 Tobias Mueller <tobiasmue@svn.gnome.org> * evolution-test-component.c: removed createControls stuff. Fixes #444289 svn path=/trunk/; revision=33683
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/evolution-test-component.c34
2 files changed, 5 insertions, 34 deletions
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 <tobiasmue@svn.gnome.org>
+
+ * evolution-test-component.c:
+ removed createControls stuff. Fixes #444289
+
2007-06-15 Matthew Barnes <mbarnes@redhat.com>
* 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;