diff options
author | Wu Xiaotian <[email protected]> | 2019-01-26 12:35:44 +0800 |
---|---|---|
committer | lukefromdc <[email protected]> | 2019-01-31 19:37:54 +0000 |
commit | e99050ad48b89cb8e1a5eaafbb9fdf2ffd418485 (patch) | |
tree | 42ebc76b8668815a60a946ad2b9b4cc6b30c9e51 /src/caja-side-pane.h | |
parent | 7920f9788dc8a142472c358d693bb7532c46b609 (diff) | |
download | caja-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-side-pane.h')
-rw-r--r-- | src/caja-side-pane.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/caja-side-pane.h b/src/caja-side-pane.h index 0a693f4c..a3fbfc64 100644 --- a/src/caja-side-pane.h +++ b/src/caja-side-pane.h @@ -26,9 +26,7 @@ #include <gtk/gtk.h> -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS #define CAJA_TYPE_SIDE_PANE caja_side_pane_get_type() #define CAJA_SIDE_PANE(obj) \ @@ -42,12 +40,12 @@ extern "C" { #define CAJA_SIDE_PANE_GET_CLASS(obj) \ (G_TYPE_INSTANCE_GET_CLASS ((obj), CAJA_TYPE_SIDE_PANE, CajaSidePaneClass)) - typedef struct _CajaSidePaneDetails CajaSidePaneDetails; + typedef struct _CajaSidePanePrivate CajaSidePanePrivate; typedef struct { GtkBox parent; - CajaSidePaneDetails *details; + CajaSidePanePrivate *details; } CajaSidePane; typedef struct @@ -75,8 +73,6 @@ extern "C" { GtkWidget *caja_side_pane_get_current_panel (CajaSidePane *side_pane); GtkWidget *caja_side_pane_get_title (CajaSidePane *side_pane); -#ifdef __cplusplus -} -#endif +G_END_DECLS #endif /* CAJA_SIDE_PANE_H */ |