Bug 793125 - Crash due to popup menus left attached too long
[evolution.git] / src / calendar / gui / e-comp-editor-memo.h
blob0b777ce249441f857af78abb266b220c31224fe8
1 /*
2 * Copyright (C) 2015 Red Hat, Inc. (www.redhat.com)
4 * This program is free software: you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by
6 * the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
10 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
11 * for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 #ifndef E_COMP_EDITOR_MEMO_H
19 #define E_COMP_EDITOR_MEMO_H
21 #include <calendar/gui/e-comp-editor.h>
23 /* Standard GObject macros */
25 #define E_TYPE_COMP_EDITOR_MEMO \
26 (e_comp_editor_memo_get_type ())
27 #define E_COMP_EDITOR_MEMO(obj) \
28 (G_TYPE_CHECK_INSTANCE_CAST \
29 ((obj), E_TYPE_COMP_EDITOR_MEMO, ECompEditorMemo))
30 #define E_COMP_EDITOR_MEMO_CLASS(cls) \
31 (G_TYPE_CHECK_CLASS_CAST \
32 ((cls), E_TYPE_COMP_EDITOR_MEMO, ECompEditorMemoClass))
33 #define E_IS_COMP_EDITOR_MEMO(obj) \
34 (G_TYPE_CHECK_INSTANCE_TYPE \
35 ((obj), E_TYPE_COMP_EDITOR_MEMO))
36 #define E_IS_COMP_EDITOR_MEMO_CLASS(cls) \
37 (G_TYPE_CHECK_CLASS_TYPE \
38 ((cls), E_TYPE_COMP_EDITOR_MEMO))
39 #define E_COMP_EDITOR_MEMO_GET_CLASS(obj) \
40 (G_TYPE_INSTANCE_GET_CLASS \
41 ((obj), E_TYPE_COMP_EDITOR_MEMO, ECompEditorMemoClass))
43 G_BEGIN_DECLS
45 typedef struct _ECompEditorMemo ECompEditorMemo;
46 typedef struct _ECompEditorMemoClass ECompEditorMemoClass;
47 typedef struct _ECompEditorMemoPrivate ECompEditorMemoPrivate;
49 struct _ECompEditorMemo {
50 ECompEditor parent;
52 ECompEditorMemoPrivate *priv;
55 struct _ECompEditorMemoClass {
56 ECompEditorClass parent_class;
59 GType e_comp_editor_memo_get_type (void) G_GNUC_CONST;
61 G_END_DECLS
63 #endif /* E_COMP_EDITOR_MEMO_H */