[anjal] Fix bugs while launching the correct class & keepup a change done in Evolution.
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [anjal] Fix bugs while launching the correct class & keepup a change done in Evolution.
- Date: Wed, 23 Dec 2009 14:04:02 +0000 (UTC)
commit b6285cf9bbd9cec59c7a6c4d757b9cd5a573d011
Author: Srinivasa Ragavan <sragavan gnome org>
Date: Wed Dec 23 19:32:24 2009 +0530
Fix bugs while launching the correct class & keepup a change done in
Evolution.
src/mail-shell.c | 2 +-
src/module/anjal-shell-backend.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/mail-shell.c b/src/mail-shell.c
index 1783cb8..a378561 100644
--- a/src/mail-shell.c
+++ b/src/mail-shell.c
@@ -480,7 +480,7 @@ mail_shell_class_init (MailShellClass *klass)
EShellWindowClass *shell_class;
GtkBindingSet *binding_set;
- shell_class = mail_shell_parent_class = g_type_class_peek_parent (klass);
+ shell_class = mail_shell_parent_class = MAIL_SHELL_CLASS(klass);
object_class->finalize = mail_shell_finalize;
//shell_class->construct_content_area = ms_construct_content_area;
shell_class->construct_toolbar = ms_construct_toolbar;
diff --git a/src/module/anjal-shell-backend.c b/src/module/anjal-shell-backend.c
index b492471..8f2f3d2 100644
--- a/src/module/anjal-shell-backend.c
+++ b/src/module/anjal-shell-backend.c
@@ -321,7 +321,7 @@ anjal_shell_backend_constructed (GObject *object)
shell = e_shell_backend_get_shell (shell_backend);
/* This also initializes Camel, so it needs to happen early. */
- mail_session_init (shell_backend);
+ mail_session_init ();
/* Register format types for EMFormatHook. */
em_format_hook_register_type (em_format_get_type ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]