summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-file.h
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-01-26 12:11:10 +0800
committerlukefromdc <[email protected]>2019-01-31 19:36:27 +0000
commit0b073710ad39202758525b9dd0a08f35fa84481d (patch)
tree7e1d23e9cbf9ad0da62ec17e770665aa217f7c70 /libcaja-private/caja-file.h
parente5129f93e489c1716d815452075f57a64b5fa149 (diff)
downloadcaja-0b073710ad39202758525b9dd0a08f35fa84481d.tar.bz2
caja-0b073710ad39202758525b9dd0a08f35fa84481d.tar.xz
Avoid deprecated g_type_class_add_private under libcaja-private
Changed CajaFileConflictDialog and CajaFile
Diffstat (limited to 'libcaja-private/caja-file.h')
-rw-r--r--libcaja-private/caja-file.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/libcaja-private/caja-file.h b/libcaja-private/caja-file.h
index e68783b8..4c24b15a 100644
--- a/libcaja-private/caja-file.h
+++ b/libcaja-private/caja-file.h
@@ -30,6 +30,8 @@
#include <libcaja-private/caja-file-attributes.h>
#include <libcaja-private/caja-icon-info.h>
+G_BEGIN_DECLS
+
/* CajaFile is an object used to represent a single element of a
* CajaDirectory. It's lightweight and relies on CajaDirectory
* to do most of the work.
@@ -494,12 +496,12 @@ void caja_file_list_cancel_call_when_ready (CajaFileLis
/* Debugging */
void caja_file_dump (CajaFile *file);
-typedef struct CajaFileDetails CajaFileDetails;
+typedef struct _CajaFilePrivate CajaFilePrivate;
struct CajaFile
{
GObject parent_slot;
- CajaFileDetails *details;
+ CajaFilePrivate *details;
};
/* This is actually a "protected" type, but it must be here so we can
@@ -596,4 +598,6 @@ typedef struct
void (* poll_for_media) (CajaFile *file);
} CajaFileClass;
+G_END_DECLS
+
#endif /* CAJA_FILE_H */