From 9a3b0141daad42713cdeae13ffb0d2e8af786540 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 13 Mar 2002 04:50:30 +0000 Subject: Update to create an EvolutionConfigControl instead of just a * evolution-test-component.c (create_configuration_page): Update to create an EvolutionConfigControl instead of just a BonoboControl. * e-corba-config-page.c (e_corba_config_page_construct): Get a GNOME_Evolution_ConfigControl instead of a CORBA_Object. Retrieve the control from it using ::_get_control instead of just assuming it's a control. Also return a boolen indicating success or failure. (e_corba_config_page_new): Likewise, get a GNOME_Evolution_ConfigControl. (setup_listener): Renamed from `setup_config_control_interface'. Get a ::ConfigControl instead of a CORBA::Object. Thus, no need to queryInterface here anymore. * evolution-config-control.c, evolution-config-control.h: New, implementation for the Evolution::ConfigControl interface. * Evolution-ConfigControl.idl: New attribute `control'. svn path=/trunk/; revision=16134 --- shell/evolution-test-component.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shell/evolution-test-component.c') diff --git a/shell/evolution-test-component.c b/shell/evolution-test-component.c index 916bf3c8f7..71b41d7627 100644 --- a/shell/evolution-test-component.c +++ b/shell/evolution-test-component.c @@ -28,6 +28,7 @@ #include "evolution-shell-component.h" #include "evolution-activity-client.h" +#include "evolution-config-control.h" #include #include @@ -63,7 +64,7 @@ create_configuration_page (void) label = gtk_label_new ("This is the configuration page for the test component."); gtk_widget_show (label); - return BONOBO_OBJECT (bonobo_control_new (label)); + return BONOBO_OBJECT (evolution_config_control_new (label)); } static BonoboObject * -- cgit v1.2.3