aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.h
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-06-25 12:24:59 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-06-25 12:24:59 +0800
commit4270cc1d3e33595feb7d4465f54f426e2faf9496 (patch)
tree6fccb11133fad6823d94079981091693b255d53b /shell/e-shell.h
parent2f67aaaf88cde1291eeec5e0e7e07be914c45263 (diff)
downloadgsoc2013-evolution-4270cc1d3e33595feb7d4465f54f426e2faf9496.tar
gsoc2013-evolution-4270cc1d3e33595feb7d4465f54f426e2faf9496.tar.gz
gsoc2013-evolution-4270cc1d3e33595feb7d4465f54f426e2faf9496.tar.bz2
gsoc2013-evolution-4270cc1d3e33595feb7d4465f54f426e2faf9496.tar.lz
gsoc2013-evolution-4270cc1d3e33595feb7d4465f54f426e2faf9496.tar.xz
gsoc2013-evolution-4270cc1d3e33595feb7d4465f54f426e2faf9496.tar.zst
gsoc2013-evolution-4270cc1d3e33595feb7d4465f54f426e2faf9496.zip
Change EShell to derive from BonoboXObject for sake of simplicity.
Also change it so that it cleanly unregisters from OAF on ::destroy. svn path=/trunk/; revision=10465
Diffstat (limited to 'shell/e-shell.h')
-rw-r--r--shell/e-shell.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/shell/e-shell.h b/shell/e-shell.h
index 2a8fab2b85..a07706a41d 100644
--- a/shell/e-shell.h
+++ b/shell/e-shell.h
@@ -25,7 +25,7 @@
#define _E_SHELL_H_
#include <liboaf/liboaf.h> /* For the registration stuff. */
-#include <bonobo/bonobo-object.h>
+#include <bonobo/bonobo-xobject.h>
#ifdef __cplusplus
extern "C" {
@@ -58,16 +58,17 @@ enum _EShellLineStatus {
typedef enum _EShellLineStatus EShellLineStatus;
struct _EShell {
- BonoboObject parent;
+ BonoboXObject parent;
EShellPrivate *priv;
};
struct _EShellClass {
- BonoboObjectClass parent_class;
+ BonoboXObjectClass parent_class;
- void (* no_views_left) (EShell *shell);
+ POA_GNOME_Evolution_Shell__epv epv;
+ void (* no_views_left) (EShell *shell);
void (* line_status_changed) (EShell *shell, EShellLineStatus status);
};
@@ -76,14 +77,13 @@ struct _EShellClass {
#define E_SHELL_OAFIID "OAFIID:GNOME_Evolution_Shell"
-GtkType e_shell_get_type (void);
-gboolean e_shell_construct (EShell *shell,
- GNOME_Evolution_Shell corba_object,
- const char *iid,
- const char *local_directory,
- gboolean show_splash);
-EShell *e_shell_new (const char *local_directory,
- gboolean show_splash);
+GtkType e_shell_get_type (void);
+gboolean e_shell_construct (EShell *shell,
+ const char *iid,
+ const char *local_directory,
+ gboolean show_splash);
+EShell *e_shell_new (const char *local_directory,
+ gboolean show_splash);
EShellView *e_shell_new_view (EShell *shell,
const char *uri);