summaryrefslogtreecommitdiff
path: root/libcaja-extension/caja-column.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-extension/caja-column.h')
-rw-r--r--libcaja-extension/caja-column.h56
1 files changed, 25 insertions, 31 deletions
diff --git a/libcaja-extension/caja-column.h b/libcaja-extension/caja-column.h
index e60f7889..9f282816 100644
--- a/libcaja-extension/caja-column.h
+++ b/libcaja-extension/caja-column.h
@@ -28,9 +28,7 @@
#include <glib-object.h>
#include "caja-extension-types.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
+G_BEGIN_DECLS
#define CAJA_TYPE_COLUMN (caja_column_get_type())
#define CAJA_COLUMN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CAJA_TYPE_COLUMN, CajaColumn))
@@ -39,39 +37,35 @@ extern "C" {
#define CAJA_INFO_IS_COLUMN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), CAJA_TYPE_COLUMN))
#define CAJA_COLUMN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), CAJA_TYPE_COLUMN, CajaColumnClass))
- typedef struct _CajaColumn CajaColumn;
- typedef struct _CajaColumnDetails CajaColumnDetails;
- typedef struct _CajaColumnClass CajaColumnClass;
+typedef struct _CajaColumn CajaColumn;
+typedef struct _CajaColumnDetails CajaColumnDetails;
+typedef struct _CajaColumnClass CajaColumnClass;
- struct _CajaColumn
- {
- GObject parent;
+struct _CajaColumn {
+ GObject parent;
- CajaColumnDetails *details;
- };
+ CajaColumnDetails *details;
+};
- struct _CajaColumnClass
- {
- GObjectClass parent;
- };
+struct _CajaColumnClass {
+ GObjectClass parent;
+};
- GType caja_column_get_type (void);
- CajaColumn * caja_column_new (const char *name,
- const char *attribute,
- const char *label,
- const char *description);
+GType caja_column_get_type (void);
+CajaColumn *caja_column_new (const char *name,
+ const char *attribute,
+ const char *label,
+ const char *description);
- /* CajaColumn has the following properties:
- * name (string) - the identifier for the column
- * attribute (string) - the file attribute to be displayed in the
- * column
- * label (string) - the user-visible label for the column
- * description (string) - a user-visible description of the column
- * xalign (float) - x-alignment of the column
- */
+/* CajaColumn has the following properties:
+ * name (string) - the identifier for the column
+ * attribute (string) - the file attribute to be displayed in the
+ * column
+ * label (string) - the user-visible label for the column
+ * description (string) - a user-visible description of the column
+ * xalign (float) - x-alignment of the column
+ */
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
#endif