aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-corba-config-page.h
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/e-corba-config-page.h
parent8ffcf0b7552e8b921228a8aa372335a161d262b8 (diff)
downloadgsoc2013-evolution-9a3b0141daad42713cdeae13ffb0d2e8af786540.tar.gz
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/e-corba-config-page.h')
-rw-r--r--shell/e-corba-config-page.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/shell/e-corba-config-page.h b/shell/e-corba-config-page.h
index a0e050baad..c50334899d 100644
--- a/shell/e-corba-config-page.h
+++ b/shell/e-corba-config-page.h
@@ -29,6 +29,8 @@
#include "e-config-page.h"
+#include "Evolution.h"
+
#include <bonobo/bonobo-object.h>
#ifdef __cplusplus
@@ -59,9 +61,9 @@ struct _ECorbaConfigPageClass {
GtkType e_corba_config_page_get_type (void);
-GtkWidget *e_corba_config_page_new_from_objref (CORBA_Object objref);
-void e_corba_config_page_construct (ECorbaConfigPage *corba_config_page,
- CORBA_Object corba_object);
+GtkWidget *e_corba_config_page_new_from_objref (GNOME_Evolution_ConfigControl objref);
+gboolean e_corba_config_page_construct (ECorbaConfigPage *corba_config_page,
+ GNOME_Evolution_ConfigControl objref);
#ifdef __cplusplus
}