aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-private.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-window-private.c')
-rw-r--r--shell/e-shell-window-private.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c
index b26ac97727..0d9dda59cb 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 = g_type_class_peek_parent(E_SHELL_WINDOW_GET_CLASS (shell_window));
+ class = 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 = g_type_class_peek_parent (E_SHELL_WINDOW_GET_CLASS (shell_window));
+ class = E_SHELL_WINDOW_GET_CLASS (shell_window);
if (class->construct_toolbar == NULL)
return NULL;