Bug 793125 - Crash due to popup menus left attached too long
[evolution.git] / src / calendar / gui / ea-week-view.h
blobac1a23a4d6487793abf455b1fd8a593e0046b751
1 /*
3 * This program is free software; you can redistribute it and/or modify it
4 * under the terms of the GNU Lesser General Public License as published by
5 * the Free Software Foundation.
7 * This program is distributed in the hope that it will be useful, but
8 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
9 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
10 * for more details.
12 * You should have received a copy of the GNU Lesser General Public License
13 * along with this program; if not, see <http://www.gnu.org/licenses/>.
16 * Authors:
17 * Bolian Yin <bolian.yin@sun.com>
19 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
23 #ifndef __EA_WEEK_VIEW_H__
24 #define __EA_WEEK_VIEW_H__
26 #include "ea-cal-view.h"
27 #include "e-week-view.h"
29 G_BEGIN_DECLS
31 #define EA_TYPE_WEEK_VIEW (ea_week_view_get_type ())
32 #define EA_WEEK_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EA_TYPE_WEEK_VIEW, EaWeekView))
33 #define EA_WEEK_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EA_TYPE_WEEK_VIEW, EaWeekViewClass))
34 #define EA_IS_WEEK_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EA_TYPE_WEEK_VIEW))
35 #define EA_IS_WEEK_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EA_TYPE_WEEK_VIEW))
36 #define EA_WEEK_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EA_TYPE_WEEK_VIEW, EaWeekViewClass))
38 typedef struct _EaWeekView EaWeekView;
39 typedef struct _EaWeekViewClass EaWeekViewClass;
41 struct _EaWeekView
43 EaCalView parent;
46 GType ea_week_view_get_type (void);
48 struct _EaWeekViewClass
50 EaCalViewClass parent_class;
53 AtkObject * ea_week_view_new (GtkWidget *widget);
55 G_END_DECLS
57 #endif /* __EA_WEEK_VIEW_H__ */