aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2008-08-08 23:15:17 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-08-08 23:15:17 +0800
commit7903e73970cbf89f4a49c5f7083b205b8670d0be (patch)
tree9aed345b4779b50668bee6a1f50fdb1fc0f59487 /shell/e-shell.c
parentcea054cd54d84479352a43bbabc19c9ce9af5efb (diff)
downloadgsoc2013-evolution-7903e73970cbf89f4a49c5f7083b205b8670d0be.tar
gsoc2013-evolution-7903e73970cbf89f4a49c5f7083b205b8670d0be.tar.gz
gsoc2013-evolution-7903e73970cbf89f4a49c5f7083b205b8670d0be.tar.bz2
gsoc2013-evolution-7903e73970cbf89f4a49c5f7083b205b8670d0be.tar.lz
gsoc2013-evolution-7903e73970cbf89f4a49c5f7083b205b8670d0be.tar.xz
gsoc2013-evolution-7903e73970cbf89f4a49c5f7083b205b8670d0be.tar.zst
gsoc2013-evolution-7903e73970cbf89f4a49c5f7083b205b8670d0be.zip
Fix some compilation errors.
svn path=/branches/kill-bonobo/; revision=35938
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 81f89c4343..43c30363f7 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -20,11 +20,14 @@
#include "e-shell.h"
+#include <glib/gi18n.h>
+
+#include "e-shell-module.h"
+#include "e-shell-registry.h"
+
#define SHUTDOWN_TIMEOUT 500 /* milliseconds */
static GList *active_windows;
-static gboolean session_started;
-static gboolean shutting_down;
static gboolean
shell_window_delete_event_cb (EShellWindow *shell_window)
@@ -56,7 +59,7 @@ shell_shutdown_timeout (void)
static guint source_id = 0;
static guint message_timer = 1;
- list = e_shell_registry_get_modules ();
+ list = e_shell_registry_list_modules ();
/* Any module can defer shutdown if it's still busy. */
for (iter = list; proceed && iter != NULL; iter = iter->next) {
@@ -97,7 +100,7 @@ shell_shutdown_timeout (void)
return !proceed;
}
-void
+EShellWindow *
e_shell_create_window (void)
{
GtkWidget *shell_window;
@@ -115,4 +118,6 @@ e_shell_create_window (void)
shell_window_weak_notify_cb, NULL);
gtk_widget_show (shell_window);
+
+ return E_SHELL_WINDOW (shell_window);
}