diff options
author | Srinivasa Ragavan <sragavan@gnome.org> | 2009-12-21 18:20:47 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@gnome.org> | 2009-12-23 17:12:59 +0800 |
commit | 55c3f228ad35c654a8bc4854856a54700deb332e (patch) | |
tree | b174efed5e2d188e5a3279772e835c959adca68f /shell | |
parent | 02d3b341c3ec41a95de3075d5edd8bf4c83d3ddc (diff) | |
download | gsoc2013-evolution-55c3f228ad35c654a8bc4854856a54700deb332e.tar.gz gsoc2013-evolution-55c3f228ad35c654a8bc4854856a54700deb332e.tar.zst gsoc2013-evolution-55c3f228ad35c654a8bc4854856a54700deb332e.zip |
Fix the way parent class is called. Anjal classes were never invoked
before.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/e-shell-window-private.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |