summaryrefslogtreecommitdiff
path: root/src/caja-image-properties-page.h
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-01-26 12:16:47 +0800
committerraveit65 <[email protected]>2019-01-31 09:35:18 +0100
commit419613671dcf6ec55d8dc49f7bbbb9d11c19d54c (patch)
treecca9893887ebb2cde1a639d1b6a3227ab1f5a9ef /src/caja-image-properties-page.h
parent328d820311cacf644014efda12400172179c0c4d (diff)
downloadcaja-419613671dcf6ec55d8dc49f7bbbb9d11c19d54c.tar.bz2
caja-419613671dcf6ec55d8dc49f7bbbb9d11c19d54c.tar.xz
Avoid deprecated g_type_class_add_private under src
Changed CajaConnectServerOperation, CajaDesktopWindow and CajaImagePropertiesPage
Diffstat (limited to 'src/caja-image-properties-page.h')
-rw-r--r--src/caja-image-properties-page.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/caja-image-properties-page.h b/src/caja-image-properties-page.h
index 9725ffa4..0c0db793 100644
--- a/src/caja-image-properties-page.h
+++ b/src/caja-image-properties-page.h
@@ -26,6 +26,8 @@
#include <gtk/gtk.h>
+G_BEGIN_DECLS
+
#define CAJA_TYPE_IMAGE_PROPERTIES_PAGE caja_image_properties_page_get_type()
#define CAJA_IMAGE_PROPERTIES_PAGE(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), CAJA_TYPE_IMAGE_PROPERTIES_PAGE, CajaImagePropertiesPage))
@@ -38,12 +40,12 @@
#define CAJA_IMAGE_PROPERTIES_PAGE_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), CAJA_TYPE_IMAGE_PROPERTIES_PAGE, CajaImagePropertiesPageClass))
-typedef struct CajaImagePropertiesPageDetails CajaImagePropertiesPageDetails;
+typedef struct _CajaImagePropertiesPagePrivate CajaImagePropertiesPagePrivate;
typedef struct
{
GtkBox parent;
- CajaImagePropertiesPageDetails *details;
+ CajaImagePropertiesPagePrivate *details;
} CajaImagePropertiesPage;
typedef struct
@@ -54,4 +56,6 @@ typedef struct
GType caja_image_properties_page_get_type (void);
void caja_image_properties_page_register (void);
+G_END_DECLS
+
#endif /* CAJA_IMAGE_PROPERTIES_PAGE_H */