summaryrefslogtreecommitdiff
path: root/src/caja-x-content-bar.h
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-01-26 12:35:44 +0800
committerlukefromdc <[email protected]>2019-01-31 19:37:54 +0000
commite99050ad48b89cb8e1a5eaafbb9fdf2ffd418485 (patch)
tree42ebc76b8668815a60a946ad2b9b4cc6b30c9e51 /src/caja-x-content-bar.h
parent7920f9788dc8a142472c358d693bb7532c46b609 (diff)
downloadcaja-e99050ad48b89cb8e1a5eaafbb9fdf2ffd418485.tar.bz2
caja-e99050ad48b89cb8e1a5eaafbb9fdf2ffd418485.tar.xz
Avoid deprecated g_type_class_add_private under src
Changed CajaSidePane, CajaSpatialWindow, CajaViewAsAction and CajaXContentBar
Diffstat (limited to 'src/caja-x-content-bar.h')
-rw-r--r--src/caja-x-content-bar.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/caja-x-content-bar.h b/src/caja-x-content-bar.h
index 50639e4e..a69fae13 100644
--- a/src/caja-x-content-bar.h
+++ b/src/caja-x-content-bar.h
@@ -28,9 +28,7 @@
#include <gtk/gtk.h>
#include <gio/gio.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
+G_BEGIN_DECLS
#define CAJA_TYPE_X_CONTENT_BAR (caja_x_content_bar_get_type ())
#define CAJA_X_CONTENT_BAR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CAJA_TYPE_X_CONTENT_BAR, CajaXContentBar))
@@ -39,7 +37,7 @@ extern "C" {
#define CAJA_IS_X_CONTENT_BAR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CAJA_TYPE_X_CONTENT_BAR))
#define CAJA_X_CONTENT_BAR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CAJA_TYPE_X_CONTENT_BAR, CajaXContentBarClass))
- typedef struct CajaXContentBarPrivate CajaXContentBarPrivate;
+ typedef struct _CajaXContentBarPrivate CajaXContentBarPrivate;
typedef struct
{
@@ -64,8 +62,6 @@ extern "C" {
GMount *mount);
GMount *caja_x_content_bar_get_mount (CajaXContentBar *bar);
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
#endif /* __CAJA_X_CONTENT_BAR_H */