aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-vfolder-editor.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-08-25 20:24:39 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-08-25 20:24:39 +0800
commit0362cc8c008abdc905497a2bf4fdb661bceface3 (patch)
tree1fe4bfcb4bae914c68014d20aa51181753918a31 /mail/em-vfolder-editor.h
parentd8ddaf9a85dd4c5e484d8351a3dde0353f31f492 (diff)
downloadgsoc2013-evolution-0362cc8c008abdc905497a2bf4fdb661bceface3.tar
gsoc2013-evolution-0362cc8c008abdc905497a2bf4fdb661bceface3.tar.gz
gsoc2013-evolution-0362cc8c008abdc905497a2bf4fdb661bceface3.tar.bz2
gsoc2013-evolution-0362cc8c008abdc905497a2bf4fdb661bceface3.tar.lz
gsoc2013-evolution-0362cc8c008abdc905497a2bf4fdb661bceface3.tar.xz
gsoc2013-evolution-0362cc8c008abdc905497a2bf4fdb661bceface3.tar.zst
gsoc2013-evolution-0362cc8c008abdc905497a2bf4fdb661bceface3.zip
Bug 488409 - Remember size of filter/vfolder editor windows
Diffstat (limited to 'mail/em-vfolder-editor.h')
-rw-r--r--mail/em-vfolder-editor.h39
1 files changed, 27 insertions, 12 deletions
diff --git a/mail/em-vfolder-editor.h b/mail/em-vfolder-editor.h
index 550f7cd2d3..2a48c46e87 100644
--- a/mail/em-vfolder-editor.h
+++ b/mail/em-vfolder-editor.h
@@ -21,32 +21,47 @@
*
*/
-#ifndef _EM_VFOLDER_EDITOR_H
-#define _EM_VFOLDER_EDITOR_H
+#ifndef EM_VFOLDER_EDITOR_H
+#define EM_VFOLDER_EDITOR_H
#include "filter/rule-editor.h"
#include "em-vfolder-context.h"
-#define EM_VFOLDER_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), em_vfolder_editor_get_type(), EMVFolderEditor))
-#define EM_VFOLDER_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), em_vfolder_editor_get_type(), EMVFolderEditorClass))
-#define EM_IS_VFOLDER_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), em_vfolder_editor_get_type()))
-#define EM_IS_VFOLDER_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), em_vfolder_editor_get_type()))
-#define EM_VFOLDER_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), em_vfolder_editor_get_type(), EMVFolderEditorClass))
+/* Standard GObject macros */
+#define EM_TYPE_VFOLDER_EDITOR \
+ (em_vfolder_editor_get_type ())
+#define EM_VFOLDER_EDITOR(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST \
+ ((obj), EM_TYPE_VFOLDER_EDITOR, EMVFolderEditor))
+#define EM_VFOLDER_EDITOR_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_CAST \
+ ((cls), EM_TYPE_VFOLDER_EDITOR, EMVFolderEditorClass))
+#define EM_IS_VFOLDER_EDITOR(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE \
+ ((obj), EM_TYPE_VFOLDER_EDITOR))
+#define EM_IS_VFOLDER_EDITOR_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_TYPE \
+ ((cls), EM_TYPE_VFOLDER_EDITOR))
+#define EM_VFOLDER_EDITOR_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS \
+ ((obj), EM_TYPE_VFOLDER_EDITOR, EMVFolderEditorClass))
+
+G_BEGIN_DECLS
typedef struct _EMVFolderEditor EMVFolderEditor;
typedef struct _EMVFolderEditorClass EMVFolderEditorClass;
struct _EMVFolderEditor {
- RuleEditor parent_object;
-
+ RuleEditor parent;
};
struct _EMVFolderEditorClass {
RuleEditorClass parent_class;
};
-GType em_vfolder_editor_get_type (void);
+GType em_vfolder_editor_get_type (void);
+GtkWidget * em_vfolder_editor_new (EMVFolderContext *vc);
-GtkWidget *em_vfolder_editor_new (EMVFolderContext *vc);
+G_END_DECLS
-#endif /* ! _EM_VFOLDER_EDITOR_H */
+#endif /* EM_VFOLDER_EDITOR_H */