summaryrefslogtreecommitdiff
path: root/libcaja-extension/caja-column.h
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-08-23 16:02:36 +0300
committermonsta <[email protected]>2016-08-23 16:02:36 +0300
commitfafdebc5741aef1b6eb64db0a0447eb0210ee186 (patch)
treecc8f3ba2885fc12f4bd614865e5a68ab7c5f231b /libcaja-extension/caja-column.h
parent3b62e6d5d6fe861e8be862b0a20ba32fdf05e701 (diff)
downloadcaja-fafdebc5741aef1b6eb64db0a0447eb0210ee186.tar.bz2
caja-fafdebc5741aef1b6eb64db0a0447eb0210ee186.tar.xz
libcaja-extension: fix docs generation and fix some indent
docs are still far from perfect, but most build warnings are gone
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