aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-field-chooser.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table-field-chooser.h')
-rw-r--r--widgets/table/e-table-field-chooser.h47
1 files changed, 25 insertions, 22 deletions
diff --git a/widgets/table/e-table-field-chooser.h b/widgets/table/e-table-field-chooser.h
index 01cbc39c64..743bf9eabe 100644
--- a/widgets/table/e-table-field-chooser.h
+++ b/widgets/table/e-table-field-chooser.h
@@ -28,27 +28,31 @@
#include <table/e-table-header.h>
#include <libgnomecanvas/libgnomecanvas.h>
-G_BEGIN_DECLS
-
-/* ETableFieldChooser - A dialog displaying information about a contact.
- *
- * The following arguments are available:
- *
- * name type read/write description
- * --------------------------------------------------------------------------------
- */
+/* Standard GObject macros */
+#define E_TYPE_TABLE_FIELD_CHOOSER \
+ (e_table_field_chooser_get_type ())
+#define E_TABLE_FIELD_CHOOSER(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST \
+ ((obj), E_TYPE_TABLE_FIELD_CHOOSER, ETableFieldChooser))
+#define E_TABLE_FIELD_CHOOSER_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_CAST \
+ ((cls), E_TYPE_TABLE_FIELD_CHOOSER, ETableFieldChooserClass))
+#define E_IS_TABLE_FIELD_CHOOSER(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE \
+ ((obj), E_TYPE_TABLE_FIELD_CHOOSER))
+#define E_IS_TABLE_FIELD_CHOOSER_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_TYPE \
+ ((cls), E_TYPE_TABLE_FIELD_CHOOSER))
+#define E_TABLE_FIELD_CHOOSER_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS \
+ ((obj), E_TYPE_TABLE_FIELD_CHOOSER, ETableFieldChooserClass))
-#define E_TABLE_FIELD_CHOOSER_TYPE (e_table_field_chooser_get_type ())
-#define E_TABLE_FIELD_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TABLE_FIELD_CHOOSER_TYPE, ETableFieldChooser))
-#define E_TABLE_FIELD_CHOOSER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), E_TABLE_FIELD_CHOOSER_TYPE, ETableFieldChooserClass))
-#define E_IS_TABLE_FIELD_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_TABLE_FIELD_CHOOSER_TYPE))
-#define E_IS_TABLE_FIELD_CHOOSER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), E_TABLE_FIELD_CHOOSER_TYPE))
+G_BEGIN_DECLS
-typedef struct _ETableFieldChooser ETableFieldChooser;
-typedef struct _ETableFieldChooserClass ETableFieldChooserClass;
+typedef struct _ETableFieldChooser ETableFieldChooser;
+typedef struct _ETableFieldChooserClass ETableFieldChooserClass;
-struct _ETableFieldChooser
-{
+struct _ETableFieldChooser {
GtkVBox parent;
/* item specific fields */
@@ -63,13 +67,12 @@ struct _ETableFieldChooser
ETableHeader *header;
};
-struct _ETableFieldChooserClass
-{
+struct _ETableFieldChooserClass {
GtkVBoxClass parent_class;
};
-GtkWidget *e_table_field_chooser_new (void);
-GType e_table_field_chooser_get_type (void);
+GType e_table_field_chooser_get_type (void) G_GNUC_CONST;
+GtkWidget * e_table_field_chooser_new (void);
G_END_DECLS