Bug 793125 - Crash due to popup menus left attached too long
[evolution.git] / src / calendar / gui / e-week-view-titles-item.h
blob6adde8780d245b55c5811084730aeb2c0f4987b3
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 * Damon Chaplin <damon@ximian.com>
19 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
24 * EWeekViewTitlesItem - displays the 'Monday', 'Tuesday' etc. at the top of
25 * the Month calendar view.
28 #ifndef E_WEEK_VIEW_TITLES_ITEM_H
29 #define E_WEEK_VIEW_TITLES_ITEM_H
31 #include "e-week-view.h"
33 /* Standard GObject macros */
34 #define E_TYPE_WEEK_VIEW_TITLES_ITEM \
35 (e_week_view_titles_item_get_type ())
36 #define E_WEEK_VIEW_TITLES_ITEM(obj) \
37 (G_TYPE_CHECK_INSTANCE_CAST \
38 ((obj), E_TYPE_WEEK_VIEW_TITLES_ITEM, EWeekViewTitlesItem))
39 #define E_WEEK_VIEW_TITLES_ITEM_CLASS(cls) \
40 (G_TYPE_CHECK_CLASS_CAST \
41 ((cls), E_TYPE_WEEK_VIEW_TITLES_ITEM, EWeekViewTitlesItemClass))
42 #define E_IS_WEEK_VIEW_TITLES_ITEM(obj) \
43 (G_TYPE_CHECK_INSTANCE_TYPE \
44 ((obj), E_TYPE_WEEK_VIEW_TITLES_ITEM))
45 #define E_IS_WEEK_VIEW_TITLES_ITEM_CLASS(cls) \
46 (G_TYPE_CHECK_CLASS_TYPE \
47 ((cls), E_TYPE_WEEK_VIEW_TITLES_ITEM))
48 #define E_WEEK_VIEW_TITLES_ITEM_GET_CLASS(obj) \
49 (G_TYPE_INSTANCE_GET_CLASS \
50 ((obj), E_TYPE_WEEK_VIEW_TITLES_ITEM, EWeekViewTitlesItemClass))
52 G_BEGIN_DECLS
54 typedef struct _EWeekViewTitlesItem EWeekViewTitlesItem;
55 typedef struct _EWeekViewTitlesItemClass EWeekViewTitlesItemClass;
56 typedef struct _EWeekViewTitlesItemPrivate EWeekViewTitlesItemPrivate;
58 struct _EWeekViewTitlesItem {
59 GnomeCanvasItem parent;
60 EWeekViewTitlesItemPrivate *priv;
63 struct _EWeekViewTitlesItemClass {
64 GnomeCanvasItemClass parent_class;
67 GType e_week_view_titles_item_get_type (void);
68 EWeekView * e_week_view_titles_item_get_week_view
69 (EWeekViewTitlesItem *titles_item);
70 void e_week_view_titles_item_set_week_view
71 (EWeekViewTitlesItem *titles_item,
72 EWeekView *week_view);
74 G_END_DECLS
76 #endif /* E_WEEK_VIEW_TITLES_ITEM_H */