aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r--shell/e-shell-view.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index 94b381f4c5..18300c4672 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -765,7 +765,7 @@ shell_view_update_actions (EShellView *shell_view)
}
static void
-shell_view_class_init (EShellViewClass *class)
+e_shell_view_class_init (EShellViewClass *class)
{
GObjectClass *object_class;
@@ -1065,11 +1065,14 @@ shell_view_class_init (EShellViewClass *class)
}
static void
-shell_view_init (EShellView *shell_view,
- EShellViewClass *class)
+e_shell_view_init (EShellView *shell_view,
+ EShellViewClass *class)
{
GtkSizeGroup *size_group;
+ /* XXX Our use of GInstanceInitFunc's 'class' parameter
+ * prevents us from using G_DEFINE_ABSTRACT_TYPE. */
+
if (class->search_context == NULL)
shell_view_init_search_context (class);
@@ -1093,12 +1096,12 @@ e_shell_view_get_type (void)
sizeof (EShellViewClass),
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
- (GClassInitFunc) shell_view_class_init,
+ (GClassInitFunc) e_shell_view_class_init,
(GClassFinalizeFunc) NULL,
NULL, /* class_data */
sizeof (EShellView),
0, /* n_preallocs */
- (GInstanceInitFunc) shell_view_init,
+ (GInstanceInitFunc) e_shell_view_init,
NULL /* value_table */
};