summaryrefslogtreecommitdiff
path: root/libcaja-extension/caja-property-page.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-property-page.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-property-page.h')
-rw-r--r--libcaja-extension/caja-property-page.h48
1 files changed, 21 insertions, 27 deletions
diff --git a/libcaja-extension/caja-property-page.h b/libcaja-extension/caja-property-page.h
index 1de9f9ea..4b24337b 100644
--- a/libcaja-extension/caja-property-page.h
+++ b/libcaja-extension/caja-property-page.h
@@ -29,9 +29,7 @@
#include <gtk/gtk.h>
#include "caja-extension-types.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
+G_BEGIN_DECLS
#define CAJA_TYPE_PROPERTY_PAGE (caja_property_page_get_type())
#define CAJA_PROPERTY_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CAJA_TYPE_PROPERTY_PAGE, CajaPropertyPage))
@@ -40,35 +38,31 @@ extern "C" {
#define CAJA_IS_PROPERTY_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), CAJA_TYPE_PROPERTY_PAGE))
#define CAJA_PROPERTY_PAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), CAJA_TYPE_PROPERTY_PAGE, CajaPropertyPageClass))
- typedef struct _CajaPropertyPage CajaPropertyPage;
- typedef struct _CajaPropertyPageDetails CajaPropertyPageDetails;
- typedef struct _CajaPropertyPageClass CajaPropertyPageClass;
+typedef struct _CajaPropertyPage CajaPropertyPage;
+typedef struct _CajaPropertyPageDetails CajaPropertyPageDetails;
+typedef struct _CajaPropertyPageClass CajaPropertyPageClass;
- struct _CajaPropertyPage
- {
- GObject parent;
+struct _CajaPropertyPage {
+ GObject parent;
- CajaPropertyPageDetails *details;
- };
+ CajaPropertyPageDetails *details;
+};
- struct _CajaPropertyPageClass
- {
- GObjectClass parent;
- };
+struct _CajaPropertyPageClass {
+ GObjectClass parent;
+};
- GType caja_property_page_get_type (void);
- CajaPropertyPage *caja_property_page_new (const char *name,
- GtkWidget *label,
- GtkWidget *page);
+GType caja_property_page_get_type (void);
+CajaPropertyPage *caja_property_page_new (const char *name,
+ GtkWidget *label,
+ GtkWidget *page);
- /* CajaPropertyPage has the following properties:
- * name (string) - the identifier for the property page
- * label (widget) - the user-visible label of the property page
- * page (widget) - the property page to display
- */
+/* CajaPropertyPage has the following properties:
+ * name (string) - the identifier for the property page
+ * label (widget) - the user-visible label of the property page
+ * page (widget) - the property page to display
+ */
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
#endif