From 55c3f228ad35c654a8bc4854856a54700deb332e Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Mon, 21 Dec 2009 15:50:47 +0530 Subject: Fix the way parent class is called. Anjal classes were never invoked before. --- shell/e-shell-window-private.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shell/e-shell-window-private.c') diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c index 0d9dda59cb..b26ac97727 100644 --- a/shell/e-shell-window-private.c +++ b/shell/e-shell-window-private.c @@ -159,7 +159,7 @@ shell_window_construct_menubar (EShellWindow *shell_window) { EShellWindowClass *class; - class = E_SHELL_WINDOW_GET_CLASS (shell_window); + class = g_type_class_peek_parent(E_SHELL_WINDOW_GET_CLASS (shell_window)); if (class->construct_menubar == NULL) return NULL; @@ -171,7 +171,7 @@ shell_window_construct_toolbar (EShellWindow *shell_window) { EShellWindowClass *class; - class = E_SHELL_WINDOW_GET_CLASS (shell_window); + class = g_type_class_peek_parent (E_SHELL_WINDOW_GET_CLASS (shell_window)); if (class->construct_toolbar == NULL) return NULL; -- cgit v1.2.3