aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-10-16 02:49:36 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-18 22:57:36 +0800
commit2197e6401ec8c5e1b77fa51e085ac068daa39e6a (patch)
tree2eb7a7d3e6113a41da3ee5305a9be662ef1c8f45 /shell/e-shell-view.c
parent776d7f50b565424e4ab5306af56986e59c00d3b9 (diff)
downloadgsoc2013-evolution-2197e6401ec8c5e1b77fa51e085ac068daa39e6a.tar
gsoc2013-evolution-2197e6401ec8c5e1b77fa51e085ac068daa39e6a.tar.gz
gsoc2013-evolution-2197e6401ec8c5e1b77fa51e085ac068daa39e6a.tar.bz2
gsoc2013-evolution-2197e6401ec8c5e1b77fa51e085ac068daa39e6a.tar.lz
gsoc2013-evolution-2197e6401ec8c5e1b77fa51e085ac068daa39e6a.tar.xz
gsoc2013-evolution-2197e6401ec8c5e1b77fa51e085ac068daa39e6a.tar.zst
gsoc2013-evolution-2197e6401ec8c5e1b77fa51e085ac068daa39e6a.zip
Implement EAlertSinkInterface in EShellContent.
Use the same alert handling policy as the composer.
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 */
};