aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-test-component.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-03-13 12:50:30 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-03-13 12:50:30 +0800
commit9a3b0141daad42713cdeae13ffb0d2e8af786540 (patch)
treedb27f6df6801b143cd3a9d15194830822812c74c /shell/evolution-test-component.c
parent8ffcf0b7552e8b921228a8aa372335a161d262b8 (diff)
downloadgsoc2013-evolution-9a3b0141daad42713cdeae13ffb0d2e8af786540.tar
gsoc2013-evolution-9a3b0141daad42713cdeae13ffb0d2e8af786540.tar.gz
gsoc2013-evolution-9a3b0141daad42713cdeae13ffb0d2e8af786540.tar.bz2
gsoc2013-evolution-9a3b0141daad42713cdeae13ffb0d2e8af786540.tar.lz
gsoc2013-evolution-9a3b0141daad42713cdeae13ffb0d2e8af786540.tar.xz
gsoc2013-evolution-9a3b0141daad42713cdeae13ffb0d2e8af786540.tar.zst
gsoc2013-evolution-9a3b0141daad42713cdeae13ffb0d2e8af786540.zip
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
Diffstat (limited to 'shell/evolution-test-component.c')
-rw-r--r--shell/evolution-test-component.c3
1 files changed, 2 insertions, 1 deletions
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 <bonobo/bonobo-generic-factory.h>
#include <bonobo/bonobo-main.h>
@@ -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 *